From 8edc2948627d979c564bbebefac5b6642e81f4a2 Mon Sep 17 00:00:00 2001 From: oleibman <10341515+oleibman@users.noreply.github.com> Date: Fri, 6 Sep 2024 01:50:15 -0700 Subject: [PATCH] Make Csv Reader Consistent With Other Branches Very minor tweaks. --- src/PhpSpreadsheet/Reader/Csv.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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);