Skip to content

Unexpected: Cannot call method callB() on b|null. #4588

@staabm

Description

@staabm

Bug report

Unexpected: Cannot call method callB() on b|null.

Code snippet that reproduces the problem

https://phpstan.org/r/5a99ead8-2a1a-4421-8486-d4265729c82d

Expected output

no error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions