@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @return array<mixed>|float|string If an array of numbers is passed as an argument, then the returned result will also be an array |
26 | 26 | * with the same dimensions |
27 | 27 | */ |
28 | - public static function IMABS(array|string $complexNumber): array|float|string |
|
28 | + public static function IMABS(array | string $complexNumber): array | float | string |
|
29 | 29 | { |
30 | 30 | if (is_array($complexNumber)) { |
31 | 31 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * @return array<mixed>|float|string If an array of numbers is passed as an argument, then the returned result will also be an array |
56 | 56 | * with the same dimensions |
57 | 57 | */ |
58 | - public static function IMARGUMENT(array|string $complexNumber): array|float|string |
|
58 | + public static function IMARGUMENT(array | string $complexNumber): array | float | string |
|
59 | 59 | { |
60 | 60 | if (is_array($complexNumber)) { |
61 | 61 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
89 | 89 | * with the same dimensions |
90 | 90 | */ |
91 | - public static function IMCONJUGATE(array|string $complexNumber): array|string |
|
91 | + public static function IMCONJUGATE(array | string $complexNumber): array | string |
|
92 | 92 | { |
93 | 93 | if (is_array($complexNumber)) { |
94 | 94 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
118 | 118 | * with the same dimensions |
119 | 119 | */ |
120 | - public static function IMCOS(array|string $complexNumber): array|string |
|
120 | + public static function IMCOS(array | string $complexNumber): array | string |
|
121 | 121 | { |
122 | 122 | if (is_array($complexNumber)) { |
123 | 123 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
147 | 147 | * with the same dimensions |
148 | 148 | */ |
149 | - public static function IMCOSH(array|string $complexNumber): array|string |
|
149 | + public static function IMCOSH(array | string $complexNumber): array | string |
|
150 | 150 | { |
151 | 151 | if (is_array($complexNumber)) { |
152 | 152 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
176 | 176 | * with the same dimensions |
177 | 177 | */ |
178 | - public static function IMCOT(array|string $complexNumber): array|string |
|
178 | + public static function IMCOT(array | string $complexNumber): array | string |
|
179 | 179 | { |
180 | 180 | if (is_array($complexNumber)) { |
181 | 181 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
205 | 205 | * with the same dimensions |
206 | 206 | */ |
207 | - public static function IMCSC(array|string $complexNumber): array|string |
|
207 | + public static function IMCSC(array | string $complexNumber): array | string |
|
208 | 208 | { |
209 | 209 | if (is_array($complexNumber)) { |
210 | 210 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
234 | 234 | * with the same dimensions |
235 | 235 | */ |
236 | - public static function IMCSCH(array|string $complexNumber): array|string |
|
236 | + public static function IMCSCH(array | string $complexNumber): array | string |
|
237 | 237 | { |
238 | 238 | if (is_array($complexNumber)) { |
239 | 239 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
263 | 263 | * with the same dimensions |
264 | 264 | */ |
265 | - public static function IMSIN(array|string $complexNumber): array|string |
|
265 | + public static function IMSIN(array | string $complexNumber): array | string |
|
266 | 266 | { |
267 | 267 | if (is_array($complexNumber)) { |
268 | 268 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
292 | 292 | * with the same dimensions |
293 | 293 | */ |
294 | - public static function IMSINH(array|string $complexNumber): array|string |
|
294 | + public static function IMSINH(array | string $complexNumber): array | string |
|
295 | 295 | { |
296 | 296 | if (is_array($complexNumber)) { |
297 | 297 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
321 | 321 | * with the same dimensions |
322 | 322 | */ |
323 | - public static function IMSEC(array|string $complexNumber): array|string |
|
323 | + public static function IMSEC(array | string $complexNumber): array | string |
|
324 | 324 | { |
325 | 325 | if (is_array($complexNumber)) { |
326 | 326 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
350 | 350 | * with the same dimensions |
351 | 351 | */ |
352 | - public static function IMSECH(array|string $complexNumber): array|string |
|
352 | + public static function IMSECH(array | string $complexNumber): array | string |
|
353 | 353 | { |
354 | 354 | if (is_array($complexNumber)) { |
355 | 355 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
379 | 379 | * with the same dimensions |
380 | 380 | */ |
381 | - public static function IMTAN(array|string $complexNumber): array|string |
|
381 | + public static function IMTAN(array | string $complexNumber): array | string |
|
382 | 382 | { |
383 | 383 | if (is_array($complexNumber)) { |
384 | 384 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -407,7 +407,7 @@ discard block |
||
407 | 407 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
408 | 408 | * with the same dimensions |
409 | 409 | */ |
410 | - public static function IMSQRT(array|string $complexNumber): array|string |
|
410 | + public static function IMSQRT(array | string $complexNumber): array | string |
|
411 | 411 | { |
412 | 412 | if (is_array($complexNumber)) { |
413 | 413 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -441,7 +441,7 @@ discard block |
||
441 | 441 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
442 | 442 | * with the same dimensions |
443 | 443 | */ |
444 | - public static function IMLN(array|string $complexNumber): array|string |
|
444 | + public static function IMLN(array | string $complexNumber): array | string |
|
445 | 445 | { |
446 | 446 | if (is_array($complexNumber)) { |
447 | 447 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -474,7 +474,7 @@ discard block |
||
474 | 474 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
475 | 475 | * with the same dimensions |
476 | 476 | */ |
477 | - public static function IMLOG10(array|string $complexNumber): array|string |
|
477 | + public static function IMLOG10(array | string $complexNumber): array | string |
|
478 | 478 | { |
479 | 479 | if (is_array($complexNumber)) { |
480 | 480 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -507,7 +507,7 @@ discard block |
||
507 | 507 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
508 | 508 | * with the same dimensions |
509 | 509 | */ |
510 | - public static function IMLOG2(array|string $complexNumber): array|string |
|
510 | + public static function IMLOG2(array | string $complexNumber): array | string |
|
511 | 511 | { |
512 | 512 | if (is_array($complexNumber)) { |
513 | 513 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -540,7 +540,7 @@ discard block |
||
540 | 540 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
541 | 541 | * with the same dimensions |
542 | 542 | */ |
543 | - public static function IMEXP(array|string $complexNumber): array|string |
|
543 | + public static function IMEXP(array | string $complexNumber): array | string |
|
544 | 544 | { |
545 | 545 | if (is_array($complexNumber)) { |
546 | 546 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber); |
@@ -571,7 +571,7 @@ discard block |
||
571 | 571 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
572 | 572 | * with the same dimensions |
573 | 573 | */ |
574 | - public static function IMPOWER(array|string $complexNumber, array|float|int|string $realNumber): array|string |
|
574 | + public static function IMPOWER(array | string $complexNumber, array | float | int | string $realNumber): array | string |
|
575 | 575 | { |
576 | 576 | if (is_array($complexNumber) || is_array($realNumber)) { |
577 | 577 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $complexNumber, $realNumber); |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * @return array<mixed>|float|string If an array of numbers is passed as an argument, then the returned result will also be an array |
35 | 35 | * with the same dimensions |
36 | 36 | */ |
37 | - public static function ERF(mixed $lower, mixed $upper = null): array|float|string |
|
37 | + public static function ERF(mixed $lower, mixed $upper = null): array | float | string |
|
38 | 38 | { |
39 | 39 | if (is_array($lower) || is_array($upper)) { |
40 | 40 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $lower, $upper); |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | /** |
84 | 84 | * Method to calculate the erf value. |
85 | 85 | */ |
86 | - public static function erfValue(float|int|string $value): float |
|
86 | + public static function erfValue(float | int | string $value): float |
|
87 | 87 | { |
88 | 88 | $value = (float) $value; |
89 | 89 | if (abs($value) > 2.2) { |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
29 | 29 | * with the same dimensions |
30 | 30 | */ |
31 | - public static function IMDIV(array|string $complexDividend, array|string $complexDivisor): array|string |
|
31 | + public static function IMDIV(array | string $complexDividend, array | string $complexDivisor): array | string |
|
32 | 32 | { |
33 | 33 | if (is_array($complexDividend) || is_array($complexDivisor)) { |
34 | 34 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $complexDividend, $complexDivisor); |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * @return array<mixed>|string If an array of numbers is passed as an argument, then the returned result will also be an array |
58 | 58 | * with the same dimensions |
59 | 59 | */ |
60 | - public static function IMSUB(array|string $complexNumber1, array|string $complexNumber2): array|string |
|
60 | + public static function IMSUB(array | string $complexNumber1, array | string $complexNumber2): array | string |
|
61 | 61 | { |
62 | 62 | if (is_array($complexNumber1) || is_array($complexNumber2)) { |
63 | 63 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $complexNumber1, $complexNumber2); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | { |
12 | 12 | /** @param null|mixed[][]|string $cellReference */ |
13 | 13 | #[DataProvider('providerROW')] |
14 | - public function testROW(mixed $expectedResult, null|array|string $cellReference = null): void |
|
14 | + public function testROW(mixed $expectedResult, null | array | string $cellReference = null): void |
|
15 | 15 | { |
16 | 16 | $result = LookupRef\RowColumnInformation::ROW($cellReference); |
17 | 17 | self::assertSame($expectedResult, $result); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | /** @param null|mixed[]|string $arg */ |
15 | 15 | #[DataProvider('providerCOLUMNS')] |
16 | - public function testCOLUMNS(mixed $expectedResult, null|array|string $arg): void |
|
16 | + public function testCOLUMNS(mixed $expectedResult, null | array | string $arg): void |
|
17 | 17 | { |
18 | 18 | $result = LookupRef\RowColumnInformation::COLUMNS($arg); |
19 | 19 | self::assertEquals($expectedResult, $result); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | /** @param null|mixed[]|string $arg */ |
15 | 15 | #[DataProvider('providerROWS')] |
16 | - public function testROWS(mixed $expectedResult, null|array|string $arg): void |
|
16 | + public function testROWS(mixed $expectedResult, null | array | string $arg): void |
|
17 | 17 | { |
18 | 18 | $result = LookupRef\RowColumnInformation::ROWS($arg); |
19 | 19 | self::assertEquals($expectedResult, $result); |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | { |
12 | 12 | /** @param mixed[] $array */ |
13 | 13 | #[DataProvider('providerMATCH')] |
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]; |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | |
42 | 42 | /** @param mixed[] $array */ |
43 | 43 | #[DataProvider('providerMATCH')] |
44 | - public function testMATCHLibre(mixed $expectedResult, mixed $input, array $array, null|float|int|string $type = null): void |
|
44 | + public function testMATCHLibre(mixed $expectedResult, mixed $input, array $array, null | float | int | string $type = null): void |
|
45 | 45 | { |
46 | 46 | $this->setOpenOffice(); |
47 | 47 | if (is_array($expectedResult)) { |
@@ -11,7 +11,7 @@ |
||
11 | 11 | { |
12 | 12 | /** @param null|mixed[]|string $cellReference */ |
13 | 13 | #[DataProvider('providerCOLUMN')] |
14 | - public function testCOLUMN(mixed $expectedResult, null|array|string $cellReference = null): void |
|
14 | + public function testCOLUMN(mixed $expectedResult, null | array | string $cellReference = null): void |
|
15 | 15 | { |
16 | 16 | $result = LookupRef\RowColumnInformation::COLUMN($cellReference); |
17 | 17 | self::assertSame($expectedResult, $result); |
@@ -10,7 +10,7 @@ |
||
10 | 10 | { |
11 | 11 | /** @param mixed[] $matrix */ |
12 | 12 | #[DataProvider('providerINDEXonSpreadsheet')] |
13 | - public function testIndexOnSpreadsheet(mixed $expectedResult, array $matrix, null|int|string $rowNum = null, null|int|string $colNum = null): void |
|
13 | + public function testIndexOnSpreadsheet(mixed $expectedResult, array $matrix, null | int | string $rowNum = null, null | int | string $colNum = null): void |
|
14 | 14 | { |
15 | 15 | $this->mightHaveException($expectedResult); |
16 | 16 | $this->setArrayAsValue(); |