Skip to content

Narrow array element type after a keyless foreach whose body guards each element with an early exit#5877

Merged
ondrejmirtes merged 3 commits into
phpstan:2.2.xfrom
phpstan-bot:create-pull-request/patch-6zt2hqi
Jun 15, 2026
Merged

Narrow array element type after a keyless foreach whose body guards each element with an early exit#5877
ondrejmirtes merged 3 commits into
phpstan:2.2.xfrom
phpstan-bot:create-pull-request/patch-6zt2hqi

Commits

Commits on Jun 15, 2026