@@ -32,7 +32,7 @@ |
||
32 | 32 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
33 | 33 | * with the same dimensions |
34 | 34 | */ |
35 | - public static function BESSELK(mixed $x, mixed $ord): array|string|float |
|
35 | + public static function BESSELK(mixed $x, mixed $ord): array | string | float |
|
36 | 36 | { |
37 | 37 | if (is_array($x) || is_array($ord)) { |
38 | 38 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $x, $ord); |
@@ -35,7 +35,7 @@ |
||
35 | 35 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
36 | 36 | * with the same dimensions |
37 | 37 | */ |
38 | - public static function BESSELI(mixed $x, mixed $ord): array|string|float |
|
38 | + public static function BESSELI(mixed $x, mixed $ord): array | string | float |
|
39 | 39 | { |
40 | 40 | if (is_array($x) || is_array($ord)) { |
41 | 41 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $x, $ord); |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
32 | 32 | * with the same dimensions |
33 | 33 | */ |
34 | - public static function BESSELY(mixed $x, mixed $ord): array|string|float |
|
34 | + public static function BESSELY(mixed $x, mixed $ord): array | string | float |
|
35 | 35 | { |
36 | 36 | if (is_array($x) || is_array($ord)) { |
37 | 37 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $x, $ord); |
@@ -114,7 +114,7 @@ |
||
114 | 114 | * accuracy if I can get my head round the mathematics |
115 | 115 | * (as described at) http://home.online.no/~pjacklam/notes/invnorm/ |
116 | 116 | */ |
117 | - public static function inverse(mixed $probability, mixed $mean, mixed $stdDev): array|string|float |
|
117 | + public static function inverse(mixed $probability, mixed $mean, mixed $stdDev): array | string | float |
|
118 | 118 | { |
119 | 119 | if (is_array($probability) || is_array($mean) || is_array($stdDev)) { |
120 | 120 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $probability, $mean, $stdDev); |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
30 | 30 | * with the same dimensions |
31 | 31 | */ |
32 | - public static function distribution(mixed $value, mixed $mean, mixed $cumulative): array|string|float |
|
32 | + public static function distribution(mixed $value, mixed $mean, mixed $cumulative): array | string | float |
|
33 | 33 | { |
34 | 34 | if (is_array($value) || is_array($mean) || is_array($cumulative)) { |
35 | 35 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $mean, $cumulative); |
@@ -94,7 +94,7 @@ |
||
94 | 94 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
95 | 95 | * with the same dimensions |
96 | 96 | */ |
97 | - public static function gauss(mixed $value): array|string|float |
|
97 | + public static function gauss(mixed $value): array | string | float |
|
98 | 98 | { |
99 | 99 | if (is_array($value)) { |
100 | 100 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value); |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
30 | 30 | * with the same dimensions |
31 | 31 | */ |
32 | - public static function distribution(mixed $value, mixed $alpha, mixed $beta, mixed $cumulative): array|string|float |
|
32 | + public static function distribution(mixed $value, mixed $alpha, mixed $beta, mixed $cumulative): array | string | float |
|
33 | 33 | { |
34 | 34 | if (is_array($value) || is_array($alpha) || is_array($beta) || is_array($cumulative)) { |
35 | 35 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $alpha, $beta, $cumulative); |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
34 | 34 | * with the same dimensions |
35 | 35 | */ |
36 | - public static function distribution(mixed $value, mixed $mean, mixed $stdDev, mixed $cumulative): array|string|float |
|
36 | + public static function distribution(mixed $value, mixed $mean, mixed $stdDev, mixed $cumulative): array | string | float |
|
37 | 37 | { |
38 | 38 | if (is_array($value) || is_array($mean) || is_array($stdDev) || is_array($cumulative)) { |
39 | 39 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $mean, $stdDev, $cumulative); |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
76 | 76 | * with the same dimensions |
77 | 77 | */ |
78 | - public static function inverse(mixed $probability, mixed $mean, mixed $stdDev): array|string|float |
|
78 | + public static function inverse(mixed $probability, mixed $mean, mixed $stdDev): array | string | float |
|
79 | 79 | { |
80 | 80 | if (is_array($probability) || is_array($mean) || is_array($stdDev)) { |
81 | 81 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $probability, $mean, $stdDev); |
@@ -74,7 +74,7 @@ |
||
74 | 74 | * |
75 | 75 | * @return float|string (string if result is an error) |
76 | 76 | */ |
77 | - public static function PERCENTRANK(mixed $valueSet, mixed $value, mixed $significance = 3): string|float |
|
77 | + public static function PERCENTRANK(mixed $valueSet, mixed $value, mixed $significance = 3): string | float |
|
78 | 78 | { |
79 | 79 | $valueSet = Functions::flattenArray($valueSet); |
80 | 80 | $value = Functions::flattenSingleValue($value); |