From 0dfb30d395c0516ba14ef3d9eb22e408bfd93d80 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 29 Nov 2024 19:29:35 +0400 Subject: [PATCH] cosmetic --- php/src/file/csv/CsvBuilder.php | 2 +- php/src/file/tab/AbstractBuilder.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;