Passed
Pull Request — master (#3876)
by Abdul Malik
13:39
created
src/PhpSpreadsheet/Writer/Xls/Escher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         /**
37 37
          * The object we are writing.
38 38
          */
39
-        private Blip|BSE|BstoreContainer|DgContainer|DggContainer|self|SpContainer|SpgrContainer|SharedEscher $object
39
+        private Blip | BSE | BstoreContainer | DgContainer | DggContainer | self | SpContainer | SpgrContainer | SharedEscher $object
40 40
     ) {
41 41
     }
42 42
 
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/AutoFilter/Column.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@
 block discarded – undo
240 240
      *
241 241
      * @param string $name Attribute Name
242 242
      */
243
-    public function getAttribute(string $name): null|int|string
243
+    public function getAttribute(string $name): null | int | string
244 244
     {
245 245
         return $this->attributes[$name] ?? null;
246 246
     }
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/AutoFilter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      *              or an AddressRange object.
50 50
      */
51 51
     public function __construct(
52
-        AddressRange|string|array $range = '', /**
52
+        AddressRange | string | array $range = '', /**
53 53
          * Autofilter Worksheet.
54 54
          */
55 55
         private ?Worksheet $workSheet = null
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     /**
70 70
      * Get AutoFilter Parent Worksheet.
71 71
      */
72
-    public function getParent(): null|Worksheet
72
+    public function getParent(): null | Worksheet
73 73
     {
74 74
         return $this->workSheet;
75 75
     }
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      *              or passing in an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 8]),
104 104
      *              or an AddressRange object.
105 105
      */
106
-    public function setRange(AddressRange|string|array $range = ''): self
106
+    public function setRange(AddressRange | string | array $range = ''): self
107 107
     {
108 108
         $this->evaluated = false;
109 109
         // extract coordinate
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
      *
232 232
      * @return $this
233 233
      */
234
-    public function setColumn(AutoFilter\Column|string $columnObjectOrString): static
234
+    public function setColumn(AutoFilter\Column | string $columnObjectOrString): static
235 235
     {
236 236
         $this->evaluated = false;
237 237
         if ((is_string($columnObjectOrString)) && (!empty($columnObjectOrString))) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/PageBreak.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     /**
14 14
      * @param array{0: int, 1: int}|CellAddress|string $coordinate
15 15
      */
16
-    public function __construct(private int $breakType, CellAddress|string|array $coordinate, private int $maxColOrRow = -1)
16
+    public function __construct(private int $breakType, CellAddress | string | array $coordinate, private int $maxColOrRow = -1)
17 17
     {
18 18
         $coordinate = Functions::trimSheetFromCellReference(Validations::validateCellAddress($coordinate));
19 19
         $this->coordinate = $coordinate;
Please login to merge, or discard this patch.