Skip to content

Wrongly assumed undefined variable since 1.11.10 #11488

@mvorisek

Description

@mvorisek

Bug report

I guess this was broken by phpstan/phpstan-src#3302

/cc @staabm

Code snippet that reproduces the problem

https://phpstan.org/r/f553b5cf-2a99-44f8-9bf0-3b53189f20b3

Expected output

no error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions