@@ -1431,7 +1431,7 @@ discard block |
||
1431 | 1431 | $objWriter->endElement(); |
1432 | 1432 | } |
1433 | 1433 | |
1434 | - private function writeCellInlineStr(XMLWriter $objWriter, string $mappedType, RichText|string $cellValue): void |
|
1434 | + private function writeCellInlineStr(XMLWriter $objWriter, string $mappedType, RichText | string $cellValue): void |
|
1435 | 1435 | { |
1436 | 1436 | $objWriter->writeAttribute('t', $mappedType); |
1437 | 1437 | if (!$cellValue instanceof RichText) { |
@@ -1451,7 +1451,7 @@ discard block |
||
1451 | 1451 | /** |
1452 | 1452 | * @param string[] $flippedStringTable |
1453 | 1453 | */ |
1454 | - private function writeCellString(XMLWriter $objWriter, string $mappedType, RichText|string $cellValue, array $flippedStringTable): void |
|
1454 | + private function writeCellString(XMLWriter $objWriter, string $mappedType, RichText | string $cellValue, array $flippedStringTable): void |
|
1455 | 1455 | { |
1456 | 1456 | $objWriter->writeAttribute('t', $mappedType); |
1457 | 1457 | if (!$cellValue instanceof RichText) { |
@@ -1461,7 +1461,7 @@ discard block |
||
1461 | 1461 | } |
1462 | 1462 | } |
1463 | 1463 | |
1464 | - private function writeCellNumeric(XMLWriter $objWriter, float|int $cellValue): void |
|
1464 | + private function writeCellNumeric(XMLWriter $objWriter, float | int $cellValue): void |
|
1465 | 1465 | { |
1466 | 1466 | $result = StringHelper::convertToString($cellValue); |
1467 | 1467 | if (is_float($cellValue) && !str_contains($result, '.')) { |