-
-
Notifications
You must be signed in to change notification settings - Fork 934
Closed
phpstan/phpstan-src
#4403Labels
Milestone
Description
Bug report
we should not loose the list state after a for-loop which only overrides pre-existing offsets
similar to #12274
Code snippet that reproduces the problem
https://phpstan.org/r/09e672bf-f31b-4761-a5ec-660207c37f8d
Expected output
no error
Did PHPStan help you today? Did it make you happy in any way?
No response