@@ -109,7 +109,7 @@ |
||
109 | 109 | * |
110 | 110 | * @return false|int |
111 | 111 | */ |
112 | - public function getPositionXL(): int|bool |
|
112 | + public function getPositionXL(): int | bool |
|
113 | 113 | { |
114 | 114 | // Scrutinizer thinks the following could return string. It is wrong. |
115 | 115 | return array_search($this->position, self::POSITION_XLREF); |
@@ -57,7 +57,7 @@ |
||
57 | 57 | * |
58 | 58 | * @return array|string The resulting array, or a string containing an error |
59 | 59 | */ |
60 | - public static function sequence($rows = 1, $columns = 1, $start = 1, $step = 1): string|array |
|
60 | + public static function sequence($rows = 1, $columns = 1, $start = 1, $step = 1): string | array |
|
61 | 61 | { |
62 | 62 | try { |
63 | 63 | $rows = (int) Helpers::validateNumericNullSubstitution($rows, 1); |
@@ -112,7 +112,7 @@ |
||
112 | 112 | * |
113 | 113 | * @return false|int Index |
114 | 114 | */ |
115 | - public function getIndexForHashCode(string $hashCode): int|bool |
|
115 | + public function getIndexForHashCode(string $hashCode): int | bool |
|
116 | 116 | { |
117 | 117 | // Scrutinizer thinks the following could return string. It is wrong. |
118 | 118 | return array_search($hashCode, $this->keyMap, true); |