Skip to content

don't forget private property expressions of different classes #13736

@staabm

Description

@staabm

Bug report

invoking a static or instance method on e.g. a baseclass should not invalidate expressions of private properties of other classes

Code snippet that reproduces the problem

https://phpstan.org/r/181a1ca3-cc92-4d67-8948-0bd12e4f8893

Expected output

no error

Did PHPStan help you today? Did it make you happy in any way?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions