From 1a488b1dfd14f40722fc5c5224121272a0e5460f Mon Sep 17 00:00:00 2001 From: Zuko Date: Wed, 16 Oct 2024 18:58:47 +0700 Subject: [PATCH] Type error: Too few arguments @@!~ --- src/Traits/ExcelExportable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/ExcelExportable.php b/src/Traits/ExcelExportable.php index acbd9d1..15c94be 100644 --- a/src/Traits/ExcelExportable.php +++ b/src/Traits/ExcelExportable.php @@ -333,7 +333,7 @@ protected function writeRow($sheet, $row, $rowIndex) * * @return mixed */ - protected function getValue($row, $key) + protected function getValue($row, $key = null) { return self::dataGet($row, $key); }