Skip to content

Commit 8edc294

Browse files
committed
Make Csv Reader Consistent With Other Branches
Very minor tweaks.
1 parent e69cfb9 commit 8edc294

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/PhpSpreadsheet/Reader/Csv.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -650,14 +650,14 @@ public function getPreserveNullString(): bool
650650
*
651651
* @param resource $stream
652652
*
653-
* @return array|false
653+
* @return array<int,?string>|false
654654
*/
655655
private static function getCsv(
656656
$stream,
657657
?int $length = null,
658-
string $separator = ",",
659-
string $enclosure = "\"",
660-
string $escape = "\\"
658+
string $separator = ',',
659+
string $enclosure = '"',
660+
string $escape = '\\'
661661
) {
662662
if (PHP_VERSION_ID >= 80400 && $escape !== '') {
663663
return @fgetcsv($stream, $length, $separator, $enclosure, $escape);

0 commit comments

Comments
 (0)