@@ -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 | } |
@@ -285,7 +285,7 @@ |
||
285 | 285 | return $dataBar; |
286 | 286 | } |
287 | 287 | |
288 | - private function readColorScale(simpleXMLElement|stdClass $cfRule): ConditionalColorScale |
|
288 | + private function readColorScale(simpleXMLElement | stdClass $cfRule): ConditionalColorScale |
|
289 | 289 | { |
290 | 290 | $colorScale = new ConditionalColorScale(); |
291 | 291 | $types = []; |
@@ -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 | ], |
@@ -13,7 +13,7 @@ |
||
13 | 13 | |
14 | 14 | class LocaleFloatsTest extends AbstractFunctional |
15 | 15 | { |
16 | - private false|string $currentPhpLocale; |
|
16 | + private false | string $currentPhpLocale; |
|
17 | 17 | |
18 | 18 | private string $originalLocale; |
19 | 19 |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | return $this->axisType === self::AXIS_TYPE_DATE || (bool) $this->axisNumber['numeric']; |
149 | 149 | } |
150 | 150 | |
151 | - public function setAxisOption(string $key, null|float|int|string $value): void |
|
151 | + public function setAxisOption(string $key, null | float | int | string $value): void |
|
152 | 152 | { |
153 | 153 | if ($value !== null && $value !== '') { |
154 | 154 | $this->axisOptions[$key] = (string) $value; |
@@ -165,16 +165,16 @@ discard block |
||
165 | 165 | ?string $axisOrientation = null, |
166 | 166 | ?string $majorTmt = null, |
167 | 167 | ?string $minorTmt = null, |
168 | - null|float|int|string $minimum = null, |
|
169 | - null|float|int|string $maximum = null, |
|
170 | - null|float|int|string $majorUnit = null, |
|
171 | - null|float|int|string $minorUnit = null, |
|
172 | - null|float|int|string $textRotation = null, |
|
168 | + null | float | int | string $minimum = null, |
|
169 | + null | float | int | string $maximum = null, |
|
170 | + null | float | int | string $majorUnit = null, |
|
171 | + null | float | int | string $minorUnit = null, |
|
172 | + null | float | int | string $textRotation = null, |
|
173 | 173 | ?string $hidden = null, |
174 | 174 | ?string $baseTimeUnit = null, |
175 | 175 | ?string $majorTimeUnit = null, |
176 | 176 | ?string $minorTimeUnit = null, |
177 | - null|float|int|string $logBase = null, |
|
177 | + null | float | int | string $logBase = null, |
|
178 | 178 | ?string $dispUnitsBuiltIn = null |
179 | 179 | ): void { |
180 | 180 | $this->axisOptions['axis_labels'] = $axisLabels; |