@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | } |
29 | 29 | |
30 | 30 | #[\PHPUnit\Framework\Attributes\DataProvider('providerBIN2OCT')] |
31 | - public function testDirectCallToBIN2OCT(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void |
|
31 | + public function testDirectCallToBIN2OCT(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void |
|
32 | 32 | { |
33 | 33 | $result = ($digits === null) ? ConvertBinary::toOctal($value) : ConvertBinary::toOctal($value, $digits); |
34 | 34 | self::assertSame($expectedResult, $result); |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | } |
103 | 103 | |
104 | 104 | #[\PHPUnit\Framework\Attributes\DataProvider('providerBIN2OCTOds')] |
105 | - public function testBIN2OCTOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void |
|
105 | + public function testBIN2OCTOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void |
|
106 | 106 | { |
107 | 107 | Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE); |
108 | 108 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class AcothTest extends AllSetupTeardown |
10 | 10 | { |
11 | 11 | #[\PHPUnit\Framework\Attributes\DataProvider('providerACOTH')] |
12 | - public function testACOTH(float|int|string $expectedResult, float|int|string $number): void |
|
12 | + public function testACOTH(float | int | string $expectedResult, float | int | string $number): void |
|
13 | 13 | { |
14 | 14 | $this->mightHaveException($expectedResult); |
15 | 15 | $sheet = $this->getSheet(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * @param mixed[]|string $expectedResult |
14 | 14 | */ |
15 | 15 | #[\PHPUnit\Framework\Attributes\DataProvider('providerSEQUENCE')] |
16 | - public function testSEQUENCE(array $arguments, array|string $expectedResult): void |
|
16 | + public function testSEQUENCE(array $arguments, array | string $expectedResult): void |
|
17 | 17 | { |
18 | 18 | if (count($arguments) === 0) { |
19 | 19 | $result = MatrixFunctions::sequence(); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class SignTest extends AllSetupTeardown |
10 | 10 | { |
11 | 11 | #[\PHPUnit\Framework\Attributes\DataProvider('providerSIGN')] |
12 | - public function testSIGN(float|int|string $expectedResult, float|int|string $value): void |
|
12 | + public function testSIGN(float | int | string $expectedResult, float | int | string $value): void |
|
13 | 13 | { |
14 | 14 | $this->mightHaveException($expectedResult); |
15 | 15 | $sheet = $this->getSheet(); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class RoundDownTest extends AllSetupTeardown |
10 | 10 | { |
11 | 11 | #[\PHPUnit\Framework\Attributes\DataProvider('providerRoundDown')] |
12 | - public function testRoundDown(float|int|string $expectedResult, float|int|string $formula): void |
|
12 | + public function testRoundDown(float | int | string $expectedResult, float | int | string $formula): void |
|
13 | 13 | { |
14 | 14 | $this->mightHaveException($expectedResult); |
15 | 15 | $sheet = $this->getSheet(); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class CothTest extends AllSetupTeardown |
10 | 10 | { |
11 | 11 | #[\PHPUnit\Framework\Attributes\DataProvider('providerCOTH')] |
12 | - public function testCOTH(float|int|string $expectedResult, float|int|string $angle): void |
|
12 | + public function testCOTH(float | int | string $expectedResult, float | int | string $angle): void |
|
13 | 13 | { |
14 | 14 | $this->mightHaveException($expectedResult); |
15 | 15 | $sheet = $this->getSheet(); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class CotTest extends AllSetupTeardown |
10 | 10 | { |
11 | 11 | #[\PHPUnit\Framework\Attributes\DataProvider('providerCOT')] |
12 | - public function testCOT(float|int|string $expectedResult, float|int|string $angle): void |
|
12 | + public function testCOT(float | int | string $expectedResult, float | int | string $angle): void |
|
13 | 13 | { |
14 | 14 | $this->mightHaveException($expectedResult); |
15 | 15 | $sheet = $this->getSheet(); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class SechTest extends AllSetupTeardown |
10 | 10 | { |
11 | 11 | #[\PHPUnit\Framework\Attributes\DataProvider('providerSECH')] |
12 | - public function testSECH(float|int|string $expectedResult, float|int|string $angle): void |
|
12 | + public function testSECH(float | int | string $expectedResult, float | int | string $angle): void |
|
13 | 13 | { |
14 | 14 | $this->mightHaveException($expectedResult); |
15 | 15 | $sheet = $this->getSheet(); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class AcotTest extends AllSetupTeardown |
10 | 10 | { |
11 | 11 | #[\PHPUnit\Framework\Attributes\DataProvider('providerACOT')] |
12 | - public function testACOT(float|int|string $expectedResult, float|int|string $number): void |
|
12 | + public function testACOT(float | int | string $expectedResult, float | int | string $number): void |
|
13 | 13 | { |
14 | 14 | $this->mightHaveException($expectedResult); |
15 | 15 | $sheet = $this->getSheet(); |