@@ -44,7 +44,7 @@ discard block |
||
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 |
||
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 |
||
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); |