@@ -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); |
@@ -39,7 +39,7 @@ |
||
39 | 39 | * If an array of values is passed as the argument, then the returned result will also be an array |
40 | 40 | * with the same dimensions |
41 | 41 | */ |
42 | - public static function spaces(mixed $stringValue = ''): array|string |
|
42 | + public static function spaces(mixed $stringValue = ''): array | string |
|
43 | 43 | { |
44 | 44 | if (is_array($stringValue)) { |
45 | 45 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $stringValue); |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * If an array of values is passed for the argument, then the returned result |
22 | 22 | * will also be an array with matching dimensions |
23 | 23 | */ |
24 | - public static function length(mixed $value = ''): array|int |
|
24 | + public static function length(mixed $value = ''): array | int |
|
25 | 25 | { |
26 | 26 | if (is_array($value)) { |
27 | 27 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value); |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * If an array of values is passed for either of the arguments, then the returned result |
47 | 47 | * will also be an array with matching dimensions |
48 | 48 | */ |
49 | - public static function exact(mixed $value1, mixed $value2): array|bool |
|
49 | + public static function exact(mixed $value1, mixed $value2): array | bool |
|
50 | 50 | { |
51 | 51 | if (is_array($value1) || is_array($value2)) { |
52 | 52 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $value1, $value2); |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * If an array of values is passed for the argument, then the returned result |
69 | 69 | * will also be an array with matching dimensions |
70 | 70 | */ |
71 | - public static function test(mixed $testValue = ''): array|string |
|
71 | + public static function test(mixed $testValue = ''): array | string |
|
72 | 72 | { |
73 | 73 | if (is_array($testValue)) { |
74 | 74 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $testValue); |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | * If an array of values is passed for either of the arguments, then the returned result |
79 | 79 | * will also be an array with matching dimensions |
80 | 80 | */ |
81 | - public static function FIXEDFORMAT(mixed $value, mixed $decimals = 2, mixed $noCommas = false): array|string |
|
81 | + public static function FIXEDFORMAT(mixed $value, mixed $decimals = 2, mixed $noCommas = false): array | string |
|
82 | 82 | { |
83 | 83 | if (is_array($value) || is_array($decimals) || is_array($noCommas)) { |
84 | 84 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $decimals, $noCommas); |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | * If an array of values is passed for either of the arguments, then the returned result |
120 | 120 | * will also be an array with matching dimensions |
121 | 121 | */ |
122 | - public static function TEXTFORMAT(mixed $value, mixed $format): array|string |
|
122 | + public static function TEXTFORMAT(mixed $value, mixed $format): array | string |
|
123 | 123 | { |
124 | 124 | if (is_array($value) || is_array($format)) { |
125 | 125 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $format); |
@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | * If an array of values is passed for either of the arguments, then the returned result |
230 | 230 | * will also be an array with matching dimensions |
231 | 231 | */ |
232 | - public static function valueToText(mixed $value, mixed $format = false): array|string |
|
232 | + public static function valueToText(mixed $value, mixed $format = false): array | string |
|
233 | 233 | { |
234 | 234 | if (is_array($value) || is_array($format)) { |
235 | 235 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $format); |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | * @param mixed $groupSeparator A string with the group/thousands separator to use, defaults to locale defined value |
271 | 271 | * Or can be an array of values |
272 | 272 | */ |
273 | - public static function NUMBERVALUE(mixed $value = '', mixed $decimalSeparator = null, mixed $groupSeparator = null): array|string|float |
|
273 | + public static function NUMBERVALUE(mixed $value = '', mixed $decimalSeparator = null, mixed $groupSeparator = null): array | string | float |
|
274 | 274 | { |
275 | 275 | if (is_array($value) || is_array($decimalSeparator) || is_array($groupSeparator)) { |
276 | 276 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $decimalSeparator, $groupSeparator); |
@@ -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); |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * If an array of values is passed for either of the arguments, then the returned result |
30 | 30 | * will also be an array with matching dimensions |
31 | 31 | */ |
32 | - public static function replace(mixed $oldText, mixed $start, mixed $chars, mixed $newText): array|string |
|
32 | + public static function replace(mixed $oldText, mixed $start, mixed $chars, mixed $newText): array | string |
|
33 | 33 | { |
34 | 34 | if (is_array($oldText) || is_array($start) || is_array($chars) || is_array($newText)) { |
35 | 35 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $oldText, $start, $chars, $newText); |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * If an array of values is passed for either of the arguments, then the returned result |
71 | 71 | * will also be an array with matching dimensions |
72 | 72 | */ |
73 | - public static function substitute(mixed $text = '', mixed $fromText = '', mixed $toText = '', mixed $instance = null): array|string |
|
73 | + public static function substitute(mixed $text = '', mixed $fromText = '', mixed $toText = '', mixed $instance = null): array | string |
|
74 | 74 | { |
75 | 75 | if (is_array($text) || is_array($fromText) || is_array($toText) || is_array($instance)) { |
76 | 76 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $text, $fromText, $toText, $instance); |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * If an array of values 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 lower(mixed $mixedCaseValue): array|string |
|
24 | + public static function lower(mixed $mixedCaseValue): array | string |
|
25 | 25 | { |
26 | 26 | if (is_array($mixedCaseValue)) { |
27 | 27 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $mixedCaseValue); |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * If an array of values is passed as the argument, then the returned result will also be an array |
45 | 45 | * with the same dimensions |
46 | 46 | */ |
47 | - public static function upper(mixed $mixedCaseValue): array|string |
|
47 | + public static function upper(mixed $mixedCaseValue): array | string |
|
48 | 48 | { |
49 | 49 | if (is_array($mixedCaseValue)) { |
50 | 50 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $mixedCaseValue); |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | * If an array of values is passed as the argument, then the returned result will also be an array |
68 | 68 | * with the same dimensions |
69 | 69 | */ |
70 | - public static function proper(mixed $mixedCaseValue): array|string |
|
70 | + public static function proper(mixed $mixedCaseValue): array | string |
|
71 | 71 | { |
72 | 72 | if (is_array($mixedCaseValue)) { |
73 | 73 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $mixedCaseValue); |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | * If an array of values is passed for the $value or $chars arguments, then the returned result |
25 | 25 | * will also be an array with matching dimensions |
26 | 26 | */ |
27 | - public static function left(mixed $value, mixed $chars = 1): array|string |
|
27 | + public static function left(mixed $value, mixed $chars = 1): array | string |
|
28 | 28 | { |
29 | 29 | if (is_array($value) || is_array($chars)) { |
30 | 30 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $chars); |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * If an array of values is passed for the $value, $start or $chars arguments, then the returned result |
55 | 55 | * will also be an array with matching dimensions |
56 | 56 | */ |
57 | - public static function mid(mixed $value, mixed $start, mixed $chars): array|string |
|
57 | + public static function mid(mixed $value, mixed $start, mixed $chars): array | string |
|
58 | 58 | { |
59 | 59 | if (is_array($value) || is_array($start) || is_array($chars)) { |
60 | 60 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $start, $chars); |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * If an array of values is passed for the $value or $chars arguments, then the returned result |
84 | 84 | * will also be an array with matching dimensions |
85 | 85 | */ |
86 | - public static function right(mixed $value, mixed $chars = 1): array|string |
|
86 | + public static function right(mixed $value, mixed $chars = 1): array | string |
|
87 | 87 | { |
88 | 88 | if (is_array($value) || is_array($chars)) { |
89 | 89 | return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $chars); |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * If an array of values is passed for any of the arguments, then the returned result |
127 | 127 | * will also be an array with matching dimensions |
128 | 128 | */ |
129 | - public static function before(mixed $text, $delimiter, mixed $instance = 1, mixed $matchMode = 0, mixed $matchEnd = 0, mixed $ifNotFound = '#N/A'): array|string |
|
129 | + public static function before(mixed $text, $delimiter, mixed $instance = 1, mixed $matchMode = 0, mixed $matchEnd = 0, mixed $ifNotFound = '#N/A'): array | string |
|
130 | 130 | { |
131 | 131 | if (is_array($text) || is_array($instance) || is_array($matchMode) || is_array($matchEnd) || is_array($ifNotFound)) { |
132 | 132 | return self::evaluateArrayArgumentsIgnore([self::class, __FUNCTION__], 1, $text, $delimiter, $instance, $matchMode, $matchEnd, $ifNotFound); |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | * If an array of values is passed for any of the arguments, then the returned result |
185 | 185 | * will also be an array with matching dimensions |
186 | 186 | */ |
187 | - public static function after(mixed $text, $delimiter, mixed $instance = 1, mixed $matchMode = 0, mixed $matchEnd = 0, mixed $ifNotFound = '#N/A'): array|string |
|
187 | + public static function after(mixed $text, $delimiter, mixed $instance = 1, mixed $matchMode = 0, mixed $matchEnd = 0, mixed $ifNotFound = '#N/A'): array | string |
|
188 | 188 | { |
189 | 189 | if (is_array($text) || is_array($instance) || is_array($matchMode) || is_array($matchEnd) || is_array($ifNotFound)) { |
190 | 190 | return self::evaluateArrayArgumentsIgnore([self::class, __FUNCTION__], 1, $text, $delimiter, $instance, $matchMode, $matchEnd, $ifNotFound); |
@@ -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); |