diff --git a/src/PhpSpreadsheet/Reader/Csv.php b/src/PhpSpreadsheet/Reader/Csv.php index 3bdb15157d..03fdc005a1 100644 --- a/src/PhpSpreadsheet/Reader/Csv.php +++ b/src/PhpSpreadsheet/Reader/Csv.php @@ -650,14 +650,14 @@ public function getPreserveNullString(): bool * * @param resource $stream * - * @return array|false + * @return array|false */ private static function getCsv( $stream, ?int $length = null, - string $separator = ",", - string $enclosure = "\"", - string $escape = "\\" + string $separator = ',', + string $enclosure = '"', + string $escape = '\\' ) { if (PHP_VERSION_ID >= 80400 && $escape !== '') { return @fgetcsv($stream, $length, $separator, $enclosure, $escape);