@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | /** |
48 | 48 | * @dataProvider providerCreationTime |
49 | 49 | */ |
50 | - public function testSetCreated(null|int $expectedCreationTime, null|int|string $created): void |
|
50 | + public function testSetCreated(null | int $expectedCreationTime, null | int | string $created): void |
|
51 | 51 | { |
52 | 52 | $expectedCreationTime = $expectedCreationTime ?? $this->startTime; |
53 | 53 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * @dataProvider providerModifiedTime |
78 | 78 | */ |
79 | - public function testSetModified(mixed $expectedModifiedTime, null|int|string $modified): void |
|
79 | + public function testSetModified(mixed $expectedModifiedTime, null | int | string $modified): void |
|
80 | 80 | { |
81 | 81 | $expectedModifiedTime = $expectedModifiedTime ?? $this->startTime; |
82 | 82 | |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | /** |
154 | 154 | * @dataProvider providerCustomProperties |
155 | 155 | */ |
156 | - public function testSetCustomProperties(mixed $expectedType, mixed $expectedValue, string $propertyName, null|bool|float|int|string $propertyValue, ?string $propertyType = null): void |
|
156 | + public function testSetCustomProperties(mixed $expectedType, mixed $expectedValue, string $propertyName, null | bool | float | int | string $propertyValue, ?string $propertyType = null): void |
|
157 | 157 | { |
158 | 158 | if ($propertyType === null) { |
159 | 159 | $this->properties->setCustomProperty($propertyName, $propertyValue); |
@@ -84,7 +84,7 @@ |
||
84 | 84 | /** |
85 | 85 | * @dataProvider providerCreateFromColumnRowException |
86 | 86 | */ |
87 | - public function testCreateFromColumnRowException(int|string $columnId, int|string $rowId): void |
|
87 | + public function testCreateFromColumnRowException(int | string $columnId, int | string $rowId): void |
|
88 | 88 | { |
89 | 89 | $this->expectException(Exception::class); |
90 | 90 | $this->expectExceptionMessage('Row and Column Ids must be positive integer values'); |
@@ -28,7 +28,7 @@ |
||
28 | 28 | $this->formatBlocks = array_map([$this, 'mapFormatBlocks'], $formatBlocks); |
29 | 29 | } |
30 | 30 | |
31 | - private function mapFormatBlocks(DateTimeWizard|string $value): string |
|
31 | + private function mapFormatBlocks(DateTimeWizard | string $value): string |
|
32 | 32 | { |
33 | 33 | // Any date masking codes are returned as lower case values |
34 | 34 | if ($value instanceof DateTimeWizard) { |