Failed Conditions
Push — master ( 5c643a...44c3bd )
by
unknown
19:29 queued 11:58
created
src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1432,7 +1432,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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, '.')) {
Please login to merge, or discard this patch.