You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because we can't represent "subclass of HelloWorld" in the typesystem, I think that is_subclass_of extension shouldn't assume anything about the falsy context. //cc @herndlm
weird error, there are a couple of other is_subclass_of bugs too. looks like someone needs to do a is_subclass_of bugfix session.. was on my list, but I couldn't motivate myself yet, will try to soon :)
Bug report
Code snippet that reproduces the problem
https://phpstan.org/r/ad0c77fa-c1a6-4893-bbaf-bb051911009a
Expected output
No errors
Did PHPStan help you today? Did it make you happy in any way?
Sure, it detected a bug today :)
The text was updated successfully, but these errors were encountered: