@@ -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(mixed $number): array|string|float |
|
23 | + public static function evaluate(mixed $number): array | string | float |
|
24 | 24 | { |
25 | 25 | if (is_array($number)) { |
26 | 26 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number); |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
23 | 23 | * with the same dimensions |
24 | 24 | */ |
25 | - public static function round(mixed $number, mixed $precision): array|string|float |
|
25 | + public static function round(mixed $number, mixed $precision): array | string | float |
|
26 | 26 | { |
27 | 27 | if (is_array($number) || is_array($precision)) { |
28 | 28 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $precision); |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
51 | 51 | * with the same dimensions |
52 | 52 | */ |
53 | - public static function up($number, $digits): array|string|float |
|
53 | + public static function up($number, $digits): array | string | float |
|
54 | 54 | { |
55 | 55 | if (is_array($number) || is_array($digits)) { |
56 | 56 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $digits); |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
87 | 87 | * with the same dimensions |
88 | 88 | */ |
89 | - public static function down($number, $digits): array|string|float |
|
89 | + public static function down($number, $digits): array | string | float |
|
90 | 90 | { |
91 | 91 | if (is_array($number) || is_array($digits)) { |
92 | 92 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $digits); |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
123 | 123 | * with the same dimensions |
124 | 124 | */ |
125 | - public static function multiple(mixed $number, mixed $multiple): array|string|int|float |
|
125 | + public static function multiple(mixed $number, mixed $multiple): array | string | int | float |
|
126 | 126 | { |
127 | 127 | if (is_array($number) || is_array($multiple)) { |
128 | 128 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $multiple); |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
166 | 166 | * with the same dimensions |
167 | 167 | */ |
168 | - public static function even($number): array|string|float |
|
168 | + public static function even($number): array | string | float |
|
169 | 169 | { |
170 | 170 | if (is_array($number)) { |
171 | 171 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number); |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
192 | 192 | * with the same dimensions |
193 | 193 | */ |
194 | - public static function odd($number): array|string|int|float |
|
194 | + public static function odd($number): array | string | int | float |
|
195 | 195 | { |
196 | 196 | if (is_array($number)) { |
197 | 197 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number); |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * 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 withBase(mixed $number, mixed $base = 10): array|string|float |
|
29 | + public static function withBase(mixed $number, mixed $base = 10): array | string | float |
|
30 | 30 | { |
31 | 31 | if (is_array($number) || is_array($base)) { |
32 | 32 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $base); |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
57 | 57 | * with the same dimensions |
58 | 58 | */ |
59 | - public static function base10(mixed $number): array|string|float |
|
59 | + public static function base10(mixed $number): array | string | float |
|
60 | 60 | { |
61 | 61 | if (is_array($number)) { |
62 | 62 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number); |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | * If an array of numbers is passed as an argument, then the returned result will also be an array |
85 | 85 | * with the same dimensions |
86 | 86 | */ |
87 | - public static function natural(mixed $number): array|string|float |
|
87 | + public static function natural(mixed $number): array | string | float |
|
88 | 88 | { |
89 | 89 | if (is_array($number)) { |
90 | 90 | 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(mixed $number, mixed $radix, mixed $minLength = null): array|string |
|
32 | + public static function evaluate(mixed $number, mixed $radix, mixed $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); |
@@ -51,7 +51,7 @@ |
||
51 | 51 | * |
52 | 52 | * @param mixed $value Value to check |
53 | 53 | */ |
54 | - public static function type(mixed $value = ''): array|int|string |
|
54 | + public static function type(mixed $value = ''): array | int | string |
|
55 | 55 | { |
56 | 56 | if (is_array($value)) { |
57 | 57 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value); |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | * If an array of values 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 character(mixed $character): array|string |
|
23 | + public static function character(mixed $character): array | string |
|
24 | 24 | { |
25 | 25 | if (is_array($character)) { |
26 | 26 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $character); |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * If an array of values 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 code(mixed $characters): array|string|int |
|
49 | + public static function code(mixed $characters): array | string | int |
|
50 | 50 | { |
51 | 51 | if (is_array($characters)) { |
52 | 52 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $characters); |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * If an array of values is passed for the $value or $chars arguments, then the returned result |
26 | 26 | * will also be an array with matching dimensions |
27 | 27 | */ |
28 | - public static function sensitive(mixed $needle, mixed $haystack, mixed $offset = 1): array|string|int |
|
28 | + public static function sensitive(mixed $needle, mixed $haystack, mixed $offset = 1): array | string | int |
|
29 | 29 | { |
30 | 30 | if (is_array($needle) || is_array($haystack) || is_array($offset)) { |
31 | 31 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $needle, $haystack, $offset); |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | * If an array of values is passed for the $value or $chars arguments, then the returned result |
68 | 68 | * will also be an array with matching dimensions |
69 | 69 | */ |
70 | - public static function insensitive(mixed $needle, mixed $haystack, mixed $offset = 1): array|string|int |
|
70 | + public static function insensitive(mixed $needle, mixed $haystack, mixed $offset = 1): array | string | int |
|
71 | 71 | { |
72 | 72 | if (is_array($needle) || is_array($haystack) || is_array($offset)) { |
73 | 73 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $needle, $haystack, $offset); |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * If an array of values is passed for the $delimiter or $ignoreEmpty arguments, then the returned result |
57 | 57 | * will also be an array with matching dimensions |
58 | 58 | */ |
59 | - public static function TEXTJOIN(mixed $delimiter = '', mixed $ignoreEmpty = true, mixed ...$args): array|string |
|
59 | + public static function TEXTJOIN(mixed $delimiter = '', mixed $ignoreEmpty = true, mixed ...$args): array | string |
|
60 | 60 | { |
61 | 61 | if (is_array($delimiter) || is_array($ignoreEmpty)) { |
62 | 62 | return self::evaluateArrayArgumentsSubset( |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | * If an array of values is passed for the $stringValue or $repeatCount arguments, then the returned result |
114 | 114 | * will also be an array with matching dimensions |
115 | 115 | */ |
116 | - public static function builtinREPT(mixed $stringValue, mixed $repeatCount): array|string |
|
116 | + public static function builtinREPT(mixed $stringValue, mixed $repeatCount): array | string |
|
117 | 117 | { |
118 | 118 | if (is_array($stringValue) || is_array($repeatCount)) { |
119 | 119 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $stringValue, $repeatCount); |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | * |
25 | 25 | * @return float|string Result, or a string containing an error |
26 | 26 | */ |
27 | - public static function bondEquivalentYield(mixed $settlement, mixed $maturity, mixed $discount): string|float |
|
27 | + public static function bondEquivalentYield(mixed $settlement, mixed $maturity, mixed $discount): string | float |
|
28 | 28 | { |
29 | 29 | $settlement = Functions::flattenSingleValue($settlement); |
30 | 30 | $maturity = Functions::flattenSingleValue($maturity); |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | * |
70 | 70 | * @return float|string Result, or a string containing an error |
71 | 71 | */ |
72 | - public static function price(mixed $settlement, mixed $maturity, mixed $discount): string|float |
|
72 | + public static function price(mixed $settlement, mixed $maturity, mixed $discount): string | float |
|
73 | 73 | { |
74 | 74 | $settlement = Functions::flattenSingleValue($settlement); |
75 | 75 | $maturity = Functions::flattenSingleValue($maturity); |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | * The maturity date is the date when the Treasury bill expires. |
118 | 118 | * @param float|string $price The Treasury bill's price per $100 face value |
119 | 119 | */ |
120 | - public static function yield(mixed $settlement, mixed $maturity, $price): string|float |
|
120 | + public static function yield(mixed $settlement, mixed $maturity, $price): string | float |
|
121 | 121 | { |
122 | 122 | $settlement = Functions::flattenSingleValue($settlement); |
123 | 123 | $maturity = Functions::flattenSingleValue($maturity); |