Fix phpstan/phpstan#14245: list lost after overwriting last element#5169
Merged
staabm merged 9 commits intophpstan:2.1.xfrom Mar 10, 2026
Merged
Commits
Commits on Mar 10, 2026
Preserve list type when overwriting existing elements via count()-1, array_key_last, array_key_first
authored andcommitted- committed
- committed
- committed
- committed
- committed
- committed
- committed
- committed