@@ -84,7 +84,7 @@ |
||
84 | 84 | * in hidden rows |
85 | 85 | * @param mixed[] $args A mixed data series of values |
86 | 86 | */ |
87 | - public static function evaluate(mixed $functionType, ...$args): float|int|string |
|
87 | + public static function evaluate(mixed $functionType, ...$args): float | int | string |
|
88 | 88 | { |
89 | 89 | /** @var Cell */ |
90 | 90 | $cellReference = array_pop($args); |
@@ -42,7 +42,7 @@ |
||
42 | 42 | * |
43 | 43 | * @return array|string An array containing a cell or range of cells, or a string on error |
44 | 44 | */ |
45 | - public static function OFFSET(?string $cellAddress = null, $rows = 0, $columns = 0, $height = null, $width = null, ?Cell $cell = null): string|array |
|
45 | + public static function OFFSET(?string $cellAddress = null, $rows = 0, $columns = 0, $height = null, $width = null, ?Cell $cell = null): string | array |
|
46 | 46 | { |
47 | 47 | /** @var int */ |
48 | 48 | $rows = Functions::flattenSingleValue($rows); |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * @return array|float|int|string If an array of numbers is passed as an argument, then the returned result will also be an array |
27 | 27 | * with the same dimensions |
28 | 28 | */ |
29 | - public static function distributionRightTail(mixed $value, mixed $degrees): array|string|int|float |
|
29 | + public static function distributionRightTail(mixed $value, mixed $degrees): array | string | int | float |
|
30 | 30 | { |
31 | 31 | if (is_array($value) || is_array($degrees)) { |
32 | 32 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $degrees); |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * @return array|float|int|string If an array of numbers is passed as an argument, then the returned result will also be an array |
69 | 69 | * with the same dimensions |
70 | 70 | */ |
71 | - public static function distributionLeftTail(mixed $value, mixed $degrees, mixed $cumulative): array|string|int|float |
|
71 | + public static function distributionLeftTail(mixed $value, mixed $degrees, mixed $cumulative): array | string | int | float |
|
72 | 72 | { |
73 | 73 | if (is_array($value) || is_array($degrees) || is_array($cumulative)) { |
74 | 74 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $degrees, $cumulative); |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | * @return array|float|string If an array of numbers is passed as an argument, then the returned result will also be an array |
155 | 155 | * with the same dimensions |
156 | 156 | */ |
157 | - public static function inverseLeftTail(mixed $probability, mixed $degrees): array|string|float |
|
157 | + public static function inverseLeftTail(mixed $probability, mixed $degrees): array | string | float |
|
158 | 158 | { |
159 | 159 | if (is_array($probability) || is_array($degrees)) { |
160 | 160 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $probability, $degrees); |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | * @param array $actual an array of observed frequencies |
185 | 185 | * @param array $expected an array of expected frequencies |
186 | 186 | */ |
187 | - public static function test($actual, $expected): float|string |
|
187 | + public static function test($actual, $expected): float | string |
|
188 | 188 | { |
189 | 189 | $rows = count($actual); |
190 | 190 | $actual = Functions::flattenArray($actual); |