← All changes
|
libraries/vendor/PhpSpreadsheet/Calculation/LookupRef/ChooseRowsEtc.php
+1
-1
3.3.2
→
3.4
View file →
| @@ -17,9 +17,9 @@ | ||
| 17 | 17 | * @return mixed[] |
| 18 | 18 | */ |
| 19 | 19 | public static function transpose(array $array): array |
| 20 | 20 | { |
| 21 | - return empty($array) ? [] : (array_map((count($array) === 1) ? (fn ($x) => [$x]) : null, ...$array)); // @phpstan-ignore-line | |
| 21 | + return empty($array) ? [] : (array_map((count($array) === 1) ? (fn ($x) => [$x]) : null, ...$array)); // @phpstan-ignore argument.type (phstan is wrong), argument.type (phpstan is wrong) | |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | /** @return mixed[] |
| 25 | 25 | * @param mixed $array */ |