@@ -10,7 +10,7 @@ |
||
10 | 10 | /** |
11 | 11 | * @dataProvider providerOFFSET |
12 | 12 | */ |
13 | - public function testOFFSET(mixed $expectedResult, null|string $cellReference = null): void |
|
13 | + public function testOFFSET(mixed $expectedResult, null | string $cellReference = null): void |
|
14 | 14 | { |
15 | 15 | $result = LookupRef\Offset::OFFSET($cellReference); |
16 | 16 | self::assertSame($expectedResult, $result); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * @dataProvider providerCOLUMNS |
13 | 13 | */ |
14 | - public function testCOLUMNS(mixed $expectedResult, null|array|string $arg): void |
|
14 | + public function testCOLUMNS(mixed $expectedResult, null | array | string $arg): void |
|
15 | 15 | { |
16 | 16 | $result = LookupRef\RowColumnInformation::COLUMNS($arg); |
17 | 17 | self::assertEquals($expectedResult, $result); |
@@ -133,7 +133,7 @@ |
||
133 | 133 | /** |
134 | 134 | * @dataProvider providerRelative |
135 | 135 | */ |
136 | - public function testR1C1Relative(string|int|null $expectedResult, string $address): void |
|
136 | + public function testR1C1Relative(string | int | null $expectedResult, string $address): void |
|
137 | 137 | { |
138 | 138 | $sheet = $this->getSheet(); |
139 | 139 | $sheet->fromArray([ |
@@ -7,7 +7,7 @@ |
||
7 | 7 | /** |
8 | 8 | * @dataProvider providerINDEXonSpreadsheet |
9 | 9 | */ |
10 | - public function testIndexOnSpreadsheet(mixed $expectedResult, array $matrix, null|int|string $rowNum = null, null|int|string $colNum = null): void |
|
10 | + public function testIndexOnSpreadsheet(mixed $expectedResult, array $matrix, null | int | string $rowNum = null, null | int | string $colNum = null): void |
|
11 | 11 | { |
12 | 12 | $this->mightHaveException($expectedResult); |
13 | 13 | $sheet = $this->getSheet(); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | /** |
10 | 10 | * @dataProvider providerCOLUMN |
11 | 11 | */ |
12 | - public function testCOLUMN(mixed $expectedResult, null|array|string $cellReference = null): void |
|
12 | + public function testCOLUMN(mixed $expectedResult, null | array | string $cellReference = null): void |
|
13 | 13 | { |
14 | 14 | $result = LookupRef\RowColumnInformation::COLUMN($cellReference); |
15 | 15 | self::assertSame($expectedResult, $result); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * @dataProvider providerROWS |
13 | 13 | */ |
14 | - public function testROWS(mixed $expectedResult, null|array|string $arg): void |
|
14 | + public function testROWS(mixed $expectedResult, null | array | string $arg): void |
|
15 | 15 | { |
16 | 16 | $result = LookupRef\RowColumnInformation::ROWS($arg); |
17 | 17 | self::assertEquals($expectedResult, $result); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * @dataProvider providerDATEDIF |
21 | 21 | */ |
22 | - public function testDirectCallToDATEDIF(array|int|string $expectedResult, string ...$args): void |
|
22 | + public function testDirectCallToDATEDIF(array | int | string $expectedResult, string ...$args): void |
|
23 | 23 | { |
24 | 24 | $result = Difference::interval(...$args); |
25 | 25 | self::assertSame($expectedResult, $result); |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * @dataProvider providerRangeEvaluation |
29 | 29 | */ |
30 | - public function testRangeEvaluation(string $formula, int|string $expectedResult): void |
|
30 | + public function testRangeEvaluation(string $formula, int | string $expectedResult): void |
|
31 | 31 | { |
32 | 32 | $workSheet = $this->spreadSheet->getActiveSheet(); |
33 | 33 | $workSheet->setCellValue('H1', $formula); |
@@ -10,7 +10,7 @@ |
||
10 | 10 | /** |
11 | 11 | * @dataProvider errorCodeMapProvider |
12 | 12 | */ |
13 | - public function testErrorCode(bool|string $expected, int $index): void |
|
13 | + public function testErrorCode(bool | string $expected, int $index): void |
|
14 | 14 | { |
15 | 15 | self::assertSame($expected, ErrorCode::lookup($index)); |
16 | 16 | } |