@@ -12,7 +12,7 @@ |
||
12 | 12 | class CsvTest extends TestCase |
13 | 13 | { |
14 | 14 | #[DataProvider('providerDelimiterDetection')] |
15 | - public function testDelimiterDetection(string $filename, string $expectedDelimiter, string $cell, string|float|int|null $expectedValue): void |
|
15 | + public function testDelimiterDetection(string $filename, string $expectedDelimiter, string $cell, string | float | int | null $expectedValue): void |
|
16 | 16 | { |
17 | 17 | $reader = new Csv(); |
18 | 18 | $delim1 = $reader->getDelimiter(); |
@@ -699,7 +699,7 @@ |
||
699 | 699 | string $enclosure = '"', |
700 | 700 | ?string $escape = null, |
701 | 701 | int $version = PHP_VERSION_ID |
702 | - ): array|false { |
|
702 | + ): array | false { |
|
703 | 703 | $escape = $escape ?? self::getDefaultEscapeCharacter(); |
704 | 704 | if ($version >= 80400 && $escape !== '') { |
705 | 705 | return @fgetcsv($stream, $length, $separator, $enclosure, $escape); |