@@ -52,7 +52,7 @@ |
||
52 | 52 | return $returnValue; |
53 | 53 | } |
54 | 54 | |
55 | - private function numericOperator(DataValidation $dataValidation, int|float $cellValue): bool |
|
55 | + private function numericOperator(DataValidation $dataValidation, int | float $cellValue): bool |
|
56 | 56 | { |
57 | 57 | $operator = $dataValidation->getOperator(); |
58 | 58 | $formula1 = $dataValidation->getFormula1(); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * @dataProvider binderProvider |
17 | 17 | */ |
18 | - public function testBindValue(null|string|bool|int|float|DateTime|DateTimeImmutable $value): void |
|
18 | + public function testBindValue(null | string | bool | int | float | DateTime | DateTimeImmutable $value): void |
|
19 | 19 | { |
20 | 20 | $spreadsheet = new Spreadsheet(); |
21 | 21 | $sheet = $spreadsheet->getActiveSheet(); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | * @param null|string|string[] $separators |
16 | 16 | * @param string[] $formatBlocks |
17 | 17 | */ |
18 | - public function testDateTime(string $expectedResult, string|null|array $separators, array $formatBlocks): void |
|
18 | + public function testDateTime(string $expectedResult, string | null | array $separators, array $formatBlocks): void |
|
19 | 19 | { |
20 | 20 | $wizard = new DateTime($separators, ...$formatBlocks); |
21 | 21 | self::assertSame($expectedResult, (string) $wizard); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * @param null|string|string[] $separators |
14 | 14 | * @param string[] $formatBlocks |
15 | 15 | */ |
16 | - public function testTime(string $expectedResult, string|array|null $separators = null, array $formatBlocks = []): void |
|
16 | + public function testTime(string $expectedResult, string | array | null $separators = null, array $formatBlocks = []): void |
|
17 | 17 | { |
18 | 18 | $wizard = new Time($separators, ...$formatBlocks); |
19 | 19 | self::assertSame($expectedResult, (string) $wizard); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * @param null|string|string[] $separators |
14 | 14 | * @param string[] $formatBlocks |
15 | 15 | */ |
16 | - public function testDate(string $expectedResult, string|array|null $separators = null, array $formatBlocks = []): void |
|
16 | + public function testDate(string $expectedResult, string | array | null $separators = null, array $formatBlocks = []): void |
|
17 | 17 | { |
18 | 18 | $wizard = new Date($separators, ...$formatBlocks); |
19 | 19 | self::assertSame($expectedResult, (string) $wizard); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * @param null|string|string[] $separators |
14 | 14 | * @param string[] $formatBlocks |
15 | 15 | */ |
16 | - public function testTime(string $expectedResult, string|array|null $separators = null, array $formatBlocks = []): void |
|
16 | + public function testTime(string $expectedResult, string | array | null $separators = null, array $formatBlocks = []): void |
|
17 | 17 | { |
18 | 18 | $wizard = new Duration($separators, ...$formatBlocks); |
19 | 19 | self::assertSame($expectedResult, (string) $wizard); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * @dataProvider providerRefRange |
13 | 13 | */ |
14 | - public function testRefRange(int|string $expectedResult, string $rangeString): void |
|
14 | + public function testRefRange(int | string $expectedResult, string $rangeString): void |
|
15 | 15 | { |
16 | 16 | $spreadsheet = new Spreadsheet(); |
17 | 17 | $sheet = $spreadsheet->getActiveSheet(); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | /** |
19 | 19 | * @dataProvider providerIsOdd |
20 | 20 | */ |
21 | - public function testIsOdd(bool|string $expectedResult, mixed $value): void |
|
21 | + public function testIsOdd(bool | string $expectedResult, mixed $value): void |
|
22 | 22 | { |
23 | 23 | $result = Value::isOdd($value); |
24 | 24 | self::assertEquals($expectedResult, $result); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | /** |
19 | 19 | * @dataProvider providerIsEven |
20 | 20 | */ |
21 | - public function testIsEven(bool|string $expectedResult, mixed $value): void |
|
21 | + public function testIsEven(bool | string $expectedResult, mixed $value): void |
|
22 | 22 | { |
23 | 23 | $result = Value::isEven($value); |
24 | 24 | self::assertEquals($expectedResult, $result); |