diff --git a/src/Goodby/CSV/Export/Standard/CsvFileObject.php b/src/Goodby/CSV/Export/Standard/CsvFileObject.php index da3f4d3..7fcddab 100644 --- a/src/Goodby/CSV/Export/Standard/CsvFileObject.php +++ b/src/Goodby/CSV/Export/Standard/CsvFileObject.php @@ -47,7 +47,8 @@ public function setCsvFilter($filter) * @param useless $escape THIS PARAM IS UNSED, BUT REQUIRED EXISTS, see https://bugs.php.net/bug.php?id=68479 and https://github.com/goodby/csv/issues/56 * @return int|void */ - public function fputcsv($fields, $delimiter = null, $enclosure = null, $escape = null) + #[ReturnTypeWillChange] + public function fputcsv($fields, $delimiter = null, $enclosure = null, $escape = null, $eol = null) { // Temporary output a line to memory to get line as string $fp = fopen('php://temp', 'w+');