@@ -18,7 +18,7 @@ |
||
18 | 18 | /** |
19 | 19 | * @dataProvider providerIMABS |
20 | 20 | */ |
21 | - public function testDirectCallToIMABS(float|int|string $expectedResult, string $arg): void |
|
21 | + public function testDirectCallToIMABS(float | int | string $expectedResult, string $arg): void |
|
22 | 22 | { |
23 | 23 | $result = ComplexFunctions::IMABS($arg); |
24 | 24 | self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION); |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | /** |
31 | 31 | * @dataProvider providerOCT2BIN |
32 | 32 | */ |
33 | - public function testDirectCallToOCT2BIN(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void |
|
33 | + public function testDirectCallToOCT2BIN(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void |
|
34 | 34 | { |
35 | 35 | $result = ($digits === null) ? ConvertOctal::toBinary($value) : ConvertOctal::toBinary($value, $digits); |
36 | 36 | self::assertSame($expectedResult, $result); |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | /** |
113 | 113 | * @dataProvider providerOCT2BINOds |
114 | 114 | */ |
115 | - public function testOCT2BINOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void |
|
115 | + public function testOCT2BINOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void |
|
116 | 116 | { |
117 | 117 | Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE); |
118 | 118 |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | /** |
12 | 12 | * @dataProvider providerMATCH |
13 | 13 | */ |
14 | - public function testMATCH(mixed $expectedResult, mixed $input, array $array, null|float|int|string $type = null): void |
|
14 | + public function testMATCH(mixed $expectedResult, mixed $input, array $array, null | float | int | string $type = null): void |
|
15 | 15 | { |
16 | 16 | if (is_array($expectedResult)) { |
17 | 17 | $expectedResult = $expectedResult[0]; |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | /** |
43 | 43 | * @dataProvider providerMATCH |
44 | 44 | */ |
45 | - public function testMATCHLibre(mixed $expectedResult, mixed $input, array $array, null|float|int|string $type = null): void |
|
45 | + public function testMATCHLibre(mixed $expectedResult, mixed $input, array $array, null | float | int | string $type = null): void |
|
46 | 46 | { |
47 | 47 | $this->setOpenOffice(); |
48 | 48 | if (is_array($expectedResult)) { |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * @dataProvider providerODD |
13 | 13 | */ |
14 | - public function testODD(int|string $expectedResult, float|int|string $value): void |
|
14 | + public function testODD(int | string $expectedResult, float | int | string $value): void |
|
15 | 15 | { |
16 | 16 | $this->mightHaveException($expectedResult); |
17 | 17 | $sheet = $this->getSheet(); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * @dataProvider providerEVEN |
13 | 13 | */ |
14 | - public function testEVEN(int|string $expectedResult, float|int|string $value): void |
|
14 | + public function testEVEN(int | string $expectedResult, float | int | string $value): void |
|
15 | 15 | { |
16 | 16 | $this->mightHaveException($expectedResult); |
17 | 17 | $sheet = $this->getSheet(); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * @dataProvider providerCOTH |
13 | 13 | */ |
14 | - public function testCOTH(float|int|string $expectedResult, float|int|string $angle): void |
|
14 | + public function testCOTH(float | int | string $expectedResult, float | int | string $angle): void |
|
15 | 15 | { |
16 | 16 | $this->mightHaveException($expectedResult); |
17 | 17 | $sheet = $this->getSheet(); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * @dataProvider providerACOT |
13 | 13 | */ |
14 | - public function testACOT(float|int|string $expectedResult, float|int|string $number): void |
|
14 | + public function testACOT(float | int | string $expectedResult, float | int | string $number): void |
|
15 | 15 | { |
16 | 16 | $this->mightHaveException($expectedResult); |
17 | 17 | $sheet = $this->getSheet(); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * @dataProvider providerRound |
13 | 13 | */ |
14 | - public function testRound(float|int|string $expectedResult, float|int|string $formula): void |
|
14 | + public function testRound(float | int | string $expectedResult, float | int | string $formula): void |
|
15 | 15 | { |
16 | 16 | $this->mightHaveException($expectedResult); |
17 | 17 | $sheet = $this->getSheet(); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * @dataProvider providerRANDBETWEEN |
13 | 13 | */ |
14 | - public function testRANDBETWEEN(int|string $expectedResult, null|bool|int|string $min = 'omitted', null|bool|int|string $max = 'omitted'): void |
|
14 | + public function testRANDBETWEEN(int | string $expectedResult, null | bool | int | string $min = 'omitted', null | bool | int | string $max = 'omitted'): void |
|
15 | 15 | { |
16 | 16 | $this->mightHaveException($expectedResult); |
17 | 17 | $sheet = $this->getSheet(); |