@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
29 | 29 | * with the same dimensions |
30 | 30 | */ |
31 | - public static function day(mixed $dateValue): array|int|string |
|
31 | + public static function day(mixed $dateValue): array | int | string |
|
32 | 32 | { |
33 | 33 | if (is_array($dateValue)) { |
34 | 34 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $dateValue); |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
70 | 70 | * with the same dimensions |
71 | 71 | */ |
72 | - public static function month(mixed $dateValue): array|string|int |
|
72 | + public static function month(mixed $dateValue): array | string | int |
|
73 | 73 | { |
74 | 74 | if (is_array($dateValue)) { |
75 | 75 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $dateValue); |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
109 | 109 | * with the same dimensions |
110 | 110 | */ |
111 | - public static function year(mixed $dateValue): array|string|int |
|
111 | + public static function year(mixed $dateValue): array | string | int |
|
112 | 112 | { |
113 | 113 | if (is_array($dateValue)) { |
114 | 114 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $dateValue); |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
28 | 28 | * with the same dimensions |
29 | 29 | */ |
30 | - public static function hour(mixed $timeValue): array|string|int |
|
30 | + public static function hour(mixed $timeValue): array | string | int |
|
31 | 31 | { |
32 | 32 | if (is_array($timeValue)) { |
33 | 33 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $timeValue); |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
69 | 69 | * with the same dimensions |
70 | 70 | */ |
71 | - public static function minute(mixed $timeValue): array|string|int |
|
71 | + public static function minute(mixed $timeValue): array | string | int |
|
72 | 72 | { |
73 | 73 | if (is_array($timeValue)) { |
74 | 74 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $timeValue); |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | * If an array of numbers is passed as the argument, then the returned result will also be an array |
110 | 110 | * with the same dimensions |
111 | 111 | */ |
112 | - public static function second(mixed $timeValue): array|string|int |
|
112 | + public static function second(mixed $timeValue): array | string | int |
|
113 | 113 | { |
114 | 114 | if (is_array($timeValue)) { |
115 | 115 | return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $timeValue); |
@@ -90,7 +90,7 @@ |
||
90 | 90 | |
91 | 91 | $meanSquareDeviations[$delimiter] = array_reduce( |
92 | 92 | $series, |
93 | - fn ($sum, $value): int|float => $sum + ($value - $median) ** 2 |
|
93 | + fn ($sum, $value): int | float => $sum + ($value - $median) ** 2 |
|
94 | 94 | ) / count($series); |
95 | 95 | } |
96 | 96 |
@@ -110,7 +110,7 @@ |
||
110 | 110 | /** |
111 | 111 | * Get index for hash code. |
112 | 112 | */ |
113 | - public function getIndexForHashCode(string $hashCode): false|int |
|
113 | + public function getIndexForHashCode(string $hashCode): false | int |
|
114 | 114 | { |
115 | 115 | return array_search($hashCode, $this->keyMap, true); |
116 | 116 | } |
@@ -101,7 +101,7 @@ |
||
101 | 101 | /** |
102 | 102 | * Get legend position as an Excel internal numeric value. |
103 | 103 | */ |
104 | - public function getPositionXL(): false|int |
|
104 | + public function getPositionXL(): false | int |
|
105 | 105 | { |
106 | 106 | return array_search($this->position, self::POSITION_XLREF); |
107 | 107 | } |
@@ -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(); |
@@ -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); |
@@ -101,7 +101,7 @@ |
||
101 | 101 | true, // plotVisibleOnly |
102 | 102 | DataSeries::EMPTY_AS_GAP, // displayBlanksAs |
103 | 103 | null, // xAxisLabel |
104 | - null, // yAxisLabel |
|
104 | + null, // yAxisLabel |
|
105 | 105 | null, // xAxis |
106 | 106 | ); |
107 | 107 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | // even though it uses camel-case fontDir. |
33 | 33 | $fontdata = $defaultFontConfig['fontdata']; |
34 | 34 | $fontFile = 'ShadowsIntoLight-Regular.ttf'; |
35 | - $config['fontdata'] = $fontdata + [ // lowercase letters only in font key |
|
35 | + $config['fontdata'] = $fontdata + [// lowercase letters only in font key |
|
36 | 36 | 'shadowsintolight' => [ |
37 | 37 | 'R' => $fontFile, |
38 | 38 | ], |