diff --git a/php/src/file/csv/CsvBuilder.php b/php/src/file/csv/CsvBuilder.php index 97054ca..24899b9 100644 --- a/php/src/file/csv/CsvBuilder.php +++ b/php/src/file/csv/CsvBuilder.php @@ -17,7 +17,7 @@ class CsvBuilder extends AbstractBuilder { 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); } diff --git a/php/src/file/tab/AbstractBuilder.php b/php/src/file/tab/AbstractBuilder.php index 93b818b..f1ec869 100644 --- a/php/src/file/tab/AbstractBuilder.php +++ b/php/src/file/tab/AbstractBuilder.php @@ -72,7 +72,7 @@ abstract class AbstractBuilder extends TempStream implements IBuilder { $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;