@@ -1432,7 +1432,7 @@ discard block |
||
1432 | 1432 | $objWriter->endElement(); |
1433 | 1433 | } |
1434 | 1434 | |
1435 | - private function writeCellInlineStr(XMLWriter $objWriter, string $mappedType, RichText|string $cellValue, ?Font $font): void |
|
1435 | + private function writeCellInlineStr(XMLWriter $objWriter, string $mappedType, RichText | string $cellValue, ?Font $font): void |
|
1436 | 1436 | { |
1437 | 1437 | $objWriter->writeAttribute('t', $mappedType); |
1438 | 1438 | if (!$cellValue instanceof RichText) { |
@@ -1459,7 +1459,7 @@ discard block |
||
1459 | 1459 | /** |
1460 | 1460 | * @param string[] $flippedStringTable |
1461 | 1461 | */ |
1462 | - private function writeCellString(XMLWriter $objWriter, string $mappedType, RichText|string $cellValue, array $flippedStringTable): void |
|
1462 | + private function writeCellString(XMLWriter $objWriter, string $mappedType, RichText | string $cellValue, array $flippedStringTable): void |
|
1463 | 1463 | { |
1464 | 1464 | $objWriter->writeAttribute('t', $mappedType); |
1465 | 1465 | if (!$cellValue instanceof RichText) { |
@@ -1469,7 +1469,7 @@ discard block |
||
1469 | 1469 | } |
1470 | 1470 | } |
1471 | 1471 | |
1472 | - private function writeCellNumeric(XMLWriter $objWriter, float|int $cellValue): void |
|
1472 | + private function writeCellNumeric(XMLWriter $objWriter, float | int $cellValue): void |
|
1473 | 1473 | { |
1474 | 1474 | $result = StringHelper::convertToString($cellValue); |
1475 | 1475 | if (is_float($cellValue) && !str_contains($result, '.')) { |