@@ -33,7 +33,7 @@ |
||
33 | 33 | /** |
34 | 34 | * @dataProvider providerGetFunctions |
35 | 35 | */ |
36 | - public function testGetFunctions(string $category, array|string $functionCall): void |
|
36 | + public function testGetFunctions(string $category, array | string $functionCall): void |
|
37 | 37 | { |
38 | 38 | self::assertIsCallable($functionCall); |
39 | 39 | } |
@@ -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 = []; |
@@ -6,11 +6,11 @@ discard block |
||
6 | 6 | { |
7 | 7 | private string $type; |
8 | 8 | |
9 | - private null|float|int|string $value; |
|
9 | + private null | float | int | string $value; |
|
10 | 10 | |
11 | 11 | private mixed $cellFormula; |
12 | 12 | |
13 | - public function __construct(string $type, null|float|int|string $value = null, mixed $cellFormula = null) |
|
13 | + public function __construct(string $type, null | float | int | string $value = null, mixed $cellFormula = null) |
|
14 | 14 | { |
15 | 15 | $this->type = $type; |
16 | 16 | $this->value = $value; |
@@ -29,12 +29,12 @@ discard block |
||
29 | 29 | return $this; |
30 | 30 | } |
31 | 31 | |
32 | - public function getValue(): null|float|int|string |
|
32 | + public function getValue(): null | float | int | string |
|
33 | 33 | { |
34 | 34 | return $this->value; |
35 | 35 | } |
36 | 36 | |
37 | - public function setValue(null|float|int|string $value): self |
|
37 | + public function setValue(null | float | int | string $value): self |
|
38 | 38 | { |
39 | 39 | $this->value = $value; |
40 | 40 |
@@ -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 | ], |