cosmetic
This commit is contained in:
parent
d2c6d51bdb
commit
8b79df5a75
@ -316,7 +316,7 @@ class SpoutBuilder extends AbstractBuilder {
|
||||
return false;
|
||||
}
|
||||
|
||||
function _write(array $row, ?array $colsStyle=null, ?array $rowStyle=null): void {
|
||||
function _write(array $row, ?array $colStyles=null, ?array $rowStyle=null): void {
|
||||
$sheetParams = $this->sheetParams;
|
||||
$headerStyle = $sheetParams["header_style"] ?? null;
|
||||
$oddStyle = $sheetParams["odd_style"] ?? null;
|
||||
@ -326,7 +326,7 @@ class SpoutBuilder extends AbstractBuilder {
|
||||
|
||||
$cells = [];
|
||||
foreach ($row as $key => $col) {
|
||||
$style = $colsStyle[$key] ?? null;
|
||||
$style = $colStyles[$key] ?? null;
|
||||
self::ensure_style($style);
|
||||
if ($col === null || $col === "") {
|
||||
$type = Cell::TYPE_EMPTY;
|
||||
|
Loading…
Reference in New Issue
Block a user