This commit is contained in:
Jephté Clain 2024-11-29 19:29:35 +04:00
parent 56548917f2
commit 0dfb30d395
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class CsvBuilder extends AbstractBuilder {
parent::__construct($output, $params); parent::__construct($output, $params);
} }
protected function _write(array $row, ?array $colsStyle=null, ?array $rowStyle=null): void { protected function _write(array $row, ?array $colStyles =null, ?array $rowStyle=null): void {
$this->fputcsv($row); $this->fputcsv($row);
} }

View File

@ -72,7 +72,7 @@ abstract class AbstractBuilder extends TempStream implements IBuilder {
$this->headers = $headers; $this->headers = $headers;
} }
protected abstract function _write(array $row, ?array $colsStyle=null, ?array $rowStyle=null): void; protected abstract function _write(array $row, ?array $colStyles =null, ?array $rowStyle=null): void;
protected bool $wroteHeaders = false; protected bool $wroteHeaders = false;