@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | * |
255 | 255 | * @param-out string $cellContent In one case, it can be bool |
256 | 256 | */ |
257 | - protected function flushCell(Worksheet $sheet, string $column, int|string $row, mixed &$cellContent, array $attributeArray): void |
|
257 | + protected function flushCell(Worksheet $sheet, string $column, int | string $row, mixed &$cellContent, array $attributeArray): void |
|
258 | 258 | { |
259 | 259 | if (is_string($cellContent)) { |
260 | 260 | // Simple String content |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | /** @var array<int, array<int, string>> */ |
305 | 305 | private static array $falseTrueArray = []; |
306 | 306 | |
307 | - private static function convertBoolean(?string $cellContent): bool|string |
|
307 | + private static function convertBoolean(?string $cellContent): bool | string |
|
308 | 308 | { |
309 | 309 | if ($cellContent === '1') { |
310 | 310 | return true; |
@@ -892,7 +892,7 @@ discard block |
||
892 | 892 | * TODO : |
893 | 893 | * - Implement to other propertie, such as border |
894 | 894 | */ |
895 | - private function applyInlineStyle(Worksheet &$sheet, int $row, string $column, array $attributeArray): void |
|
895 | + private function applyInlineStyle(Worksheet & $sheet, int $row, string $column, array $attributeArray): void |
|
896 | 896 | { |
897 | 897 | if (!isset($attributeArray['style'])) { |
898 | 898 | return; |