Passed
Push — master ( 653645...08f2f1 )
by
unknown
16:09 queued 04:49
created
src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *
45 45
      * @return int|int[]|string
46 46
      */
47
-    public static function COLUMN($cellAddress = null, ?Cell $cell = null): int|string|array
47
+    public static function COLUMN($cellAddress = null, ?Cell $cell = null): int | string | array
48 48
     {
49 49
         if (self::cellAddressNullOrWhitespace($cellAddress)) {
50 50
             return self::cellColumn($cell);
@@ -124,12 +124,12 @@  discard block
 block discarded – undo
124 124
         return $columns;
125 125
     }
126 126
 
127
-    private static function cellRow(?Cell $cell): int|string
127
+    private static function cellRow(?Cell $cell): int | string
128 128
     {
129 129
         return ($cell !== null) ? self::convert0ToName($cell->getRow()) : 1;
130 130
     }
131 131
 
132
-    private static function convert0ToName(int|string $result): int|string
132
+    private static function convert0ToName(int | string $result): int | string
133 133
     {
134 134
         if (is_int($result) && ($result <= 0 || $result > 1048576)) {
135 135
             return ExcelError::NAME();
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      *
156 156
      * @return int|mixed[]|string
157 157
      */
158
-    public static function ROW($cellAddress = null, ?Cell $cell = null): int|string|array
158
+    public static function ROW($cellAddress = null, ?Cell $cell = null): int | string | array
159 159
     {
160 160
         if (self::cellAddressNullOrWhitespace($cellAddress)) {
161 161
             return self::cellRow($cell);
Please login to merge, or discard this patch.