@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
22 | 22 | * with the same dimensions |
23 | 23 | */ |
24 | - public static function sin($angle): array|string|float |
|
24 | + public static function sin($angle): array | string | float |
|
25 | 25 | { |
26 | 26 | if (is_array($angle)) { |
27 | 27 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $angle); |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
48 | 48 | * with the same dimensions |
49 | 49 | */ |
50 | - public static function sinh($angle): array|string|float |
|
50 | + public static function sinh($angle): array | string | float |
|
51 | 51 | { |
52 | 52 | if (is_array($angle)) { |
53 | 53 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $angle); |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
22 | 22 | * with the same dimensions |
23 | 23 | */ |
24 | - public static function cos($number): array|string|float |
|
24 | + public static function cos($number): array | string | float |
|
25 | 25 | { |
26 | 26 | if (is_array($number)) { |
27 | 27 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number); |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
48 | 48 | * with the same dimensions |
49 | 49 | */ |
50 | - public static function cosh($number): array|string|float |
|
50 | + public static function cosh($number): array | string | float |
|
51 | 51 | { |
52 | 52 | if (is_array($number)) { |
53 | 53 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number); |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
21 | 21 | * with the same dimensions |
22 | 22 | */ |
23 | - public static function evaluate($number): array|string|int|float |
|
23 | + public static function evaluate($number): array | string | int | float |
|
24 | 24 | { |
25 | 25 | if (is_array($number)) { |
26 | 26 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number); |
@@ -825,7 +825,7 @@ |
||
825 | 825 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
826 | 826 | * with the same dimensions |
827 | 827 | */ |
828 | - public static function evaluate($aValue, $style = 0): array|string |
|
828 | + public static function evaluate($aValue, $style = 0): array | string |
|
829 | 829 | { |
830 | 830 | if (is_array($aValue) || is_array($style)) { |
831 | 831 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $aValue, $style); |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
21 | 21 | * with the same dimensions |
22 | 22 | */ |
23 | - public static function toDegrees($number): array|string|float |
|
23 | + public static function toDegrees($number): array | string | float |
|
24 | 24 | { |
25 | 25 | if (is_array($number)) { |
26 | 26 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number); |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
47 | 47 | * with the same dimensions |
48 | 48 | */ |
49 | - public static function toRadians($number): array|string|float |
|
49 | + public static function toRadians($number): array | string | float |
|
50 | 50 | { |
51 | 51 | if (is_array($number)) { |
52 | 52 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number); |
@@ -46,7 +46,7 @@ |
||
46 | 46 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
47 | 47 | * with the same dimensions |
48 | 48 | */ |
49 | - public static function pi($number): array|string|float |
|
49 | + public static function pi($number): array | string | float |
|
50 | 50 | { |
51 | 51 | if (is_array($number)) { |
52 | 52 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number); |
@@ -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 evaluate($number, $radix, $minLength = null): array|string |
|
32 | + public static function evaluate($number, $radix, $minLength = null): array | string |
|
33 | 33 | { |
34 | 34 | if (is_array($number) || is_array($radix) || is_array($minLength)) { |
35 | 35 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $radix, $minLength); |
@@ -81,7 +81,7 @@ |
||
81 | 81 | * |
82 | 82 | * @return float|int|string The result, or a string containing an error |
83 | 83 | */ |
84 | - public static function product(...$args): string|int|float |
|
84 | + public static function product(...$args): string | int | float |
|
85 | 85 | { |
86 | 86 | $arrayList = $args; |
87 | 87 |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
21 | 21 | * with the same dimensions |
22 | 22 | */ |
23 | - public static function evaluate($number): array|string|float |
|
23 | + public static function evaluate($number): array | string | float |
|
24 | 24 | { |
25 | 25 | if (is_array($number)) { |
26 | 26 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number); |