← All changes
|
libraries/vendor/PhpSpreadsheet/Calculation/TextData/Text.php
+2
-2
3.3.1
→
3.4
View file →
| @@ -171,14 +171,14 @@ | ||
| 171 | 171 | private static function applyPadding(array $rows, $padding): array |
| 172 | 172 | { |
| 173 | 173 | $columnCount = array_reduce( |
| 174 | 174 | $rows, |
| 175 | - fn (int $counter, array $row): int => max($counter, count($row)), //* @phpstan-ignore-line | |
| 175 | + fn (int $counter, array $row): int => max($counter, count($row)), //* @phpstan-ignore argument.type (I don't know) | |
| 176 | 176 | 0 |
| 177 | 177 | ); |
| 178 | 178 | |
| 179 | 179 | return array_map( |
| 180 | - fn (array $row): array => (count($row) < $columnCount) //* @phpstan-ignore-line | |
| 180 | + fn (array $row): array => (count($row) < $columnCount) //* @phpstan-ignore argument.type (I don't know) | |
| 181 | 181 | ? array_merge($row, array_fill(0, $columnCount - count($row), $padding)) |
| 182 | 182 | : $row, |
| 183 | 183 | $rows |
| 184 | 184 | ); |