Skip to content

FP: is_subclass_of() with non-empty-string #5369

@voku

Description

@voku

Bug report

Code snippet that reproduces the problem

https://phpstan.org/r/e24cf39e-68f1-4c66-b1be-0c39189b721a

Expected output

no error because it's maybe true or false

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

It improves the code quality step by step, and that is what good progress looks like. 🥇

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions