@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | /** |
239 | 239 | * Get Horizontal. |
240 | 240 | */ |
241 | - public function getHorizontal(): null|string |
|
241 | + public function getHorizontal(): null | string |
|
242 | 242 | { |
243 | 243 | if ($this->isSupervisor) { |
244 | 244 | return $this->getSharedComponent()->getHorizontal(); |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | /** |
275 | 275 | * Get Vertical. |
276 | 276 | */ |
277 | - public function getVertical(): null|string |
|
277 | + public function getVertical(): null | string |
|
278 | 278 | { |
279 | 279 | if ($this->isSupervisor) { |
280 | 280 | return $this->getSharedComponent()->getVertical(); |
@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | /** |
308 | 308 | * Get TextRotation. |
309 | 309 | */ |
310 | - public function getTextRotation(): null|int |
|
310 | + public function getTextRotation(): null | int |
|
311 | 311 | { |
312 | 312 | if ($this->isSupervisor) { |
313 | 313 | return $this->getSharedComponent()->getTextRotation(); |
@@ -246,7 +246,7 @@ |
||
246 | 246 | * |
247 | 247 | * @param string $propertyName |
248 | 248 | */ |
249 | - public function getLineProperty($propertyName): null|int|string |
|
249 | + public function getLineProperty($propertyName): null | int | string |
|
250 | 250 | { |
251 | 251 | return $this->getLineColorProperty($propertyName); |
252 | 252 | } |
@@ -62,7 +62,7 @@ |
||
62 | 62 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
63 | 63 | * with the same dimensions |
64 | 64 | */ |
65 | - public static function evaluate(mixed $roman): array|int|string |
|
65 | + public static function evaluate(mixed $roman): array | int | string |
|
66 | 66 | { |
67 | 67 | if (is_array($roman)) { |
68 | 68 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $roman); |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | * |
21 | 21 | * @return float|string (string if result is an error) |
22 | 22 | */ |
23 | - public static function averageDeviations(mixed ...$args): string|float |
|
23 | + public static function averageDeviations(mixed ...$args): string | float |
|
24 | 24 | { |
25 | 25 | $aArgs = Functions::flattenArrayIndexed($args); |
26 | 26 | |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | * |
70 | 70 | * @return float|string (string if result is an error) |
71 | 71 | */ |
72 | - public static function average(mixed ...$args): string|int|float |
|
72 | + public static function average(mixed ...$args): string | int | float |
|
73 | 73 | { |
74 | 74 | $returnValue = $aCount = 0; |
75 | 75 | |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * |
109 | 109 | * @return float|string (string if result is an error) |
110 | 110 | */ |
111 | - public static function averageA(mixed ...$args): string|int|float |
|
111 | + public static function averageA(mixed ...$args): string | int | float |
|
112 | 112 | { |
113 | 113 | $returnValue = null; |
114 | 114 | |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | * |
148 | 148 | * @return float|string The result, or a string containing an error |
149 | 149 | */ |
150 | - public static function median(mixed ...$args): float|string |
|
150 | + public static function median(mixed ...$args): float | string |
|
151 | 151 | { |
152 | 152 | $aArgs = Functions::flattenArray($args); |
153 | 153 | |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | * |
182 | 182 | * @return float|string The result, or a string containing an error |
183 | 183 | */ |
184 | - public static function mode(mixed ...$args): float|string |
|
184 | + public static function mode(mixed ...$args): float | string |
|
185 | 185 | { |
186 | 186 | $returnValue = ExcelError::NA(); |
187 | 187 | |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | * Special variant of array_count_values that isn't limited to strings and integers, |
212 | 212 | * but can work with floating point numbers as values. |
213 | 213 | */ |
214 | - private static function modeCalc(array $data): float|string |
|
214 | + private static function modeCalc(array $data): float | string |
|
215 | 215 | { |
216 | 216 | $frequencyArray = []; |
217 | 217 | $index = 0; |
@@ -72,7 +72,7 @@ |
||
72 | 72 | /** |
73 | 73 | * Get AutoFilter Parent Worksheet. |
74 | 74 | */ |
75 | - public function getParent(): null|Worksheet |
|
75 | + public function getParent(): null | Worksheet |
|
76 | 76 | { |
77 | 77 | return $this->workSheet; |
78 | 78 | } |