@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
71 | 71 | * with the same dimensions |
72 | 72 | */ |
73 | - public static function math(mixed $number, mixed $significance = null, $mode = 0, bool $checkSigns = false): array|string|float |
|
73 | + public static function math(mixed $number, mixed $significance = null, $mode = 0, bool $checkSigns = false): array | string | float |
|
74 | 74 | { |
75 | 75 | if (is_array($number) || is_array($significance) || is_array($mode)) { |
76 | 76 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $significance, $mode); |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
117 | 117 | * with the same dimensions |
118 | 118 | */ |
119 | - public static function precise(mixed $number, $significance = 1): array|string|float |
|
119 | + public static function precise(mixed $number, $significance = 1): array | string | float |
|
120 | 120 | { |
121 | 121 | if (is_array($number) || is_array($significance)) { |
122 | 122 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $significance); |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | * |
150 | 150 | * @return array<mixed>|float|string Rounded Number, or a string containing an error |
151 | 151 | */ |
152 | - public static function mathOds(mixed $number, mixed $significance = null, $mode = 0): array|string|float |
|
152 | + public static function mathOds(mixed $number, mixed $significance = null, $mode = 0): array | string | float |
|
153 | 153 | { |
154 | 154 | return self::math($number, $significance, $mode, true); |
155 | 155 | } |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | /** |
166 | 166 | * Avoid Scrutinizer problems concerning complexity. |
167 | 167 | */ |
168 | - private static function argumentsOk(float $number, float $significance): float|string |
|
168 | + private static function argumentsOk(float $number, float $significance): float | string |
|
169 | 169 | { |
170 | 170 | if (empty($number * $significance)) { |
171 | 171 | return 0.0; |