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
When checking for a child of a child interface, an invalid error is shown that the statement will always evaluate to false. This may be related to #5869 and is introduced in 1.4.6.
53 | Instanceof between T of EntityInterface and EnableableInterface will always evaluate to false.
75 | Instanceof between T of EntityInterface and EnableableInterface will always evaluate to false.
Expected output
No error
Did PHPStan help you today? Did it make you happy in any way?
PHPStan helps me every day.
The text was updated successfully, but these errors were encountered:
Bug report
When checking for a child of a child interface, an invalid error is shown that the statement will always evaluate to false. This may be related to #5869 and is introduced in 1.4.6.
Code snippet that reproduces the problem
Demo: https://phpstan.org/r/23d7c262-5ae8-4fff-aa24-687f404aede0
Excerpt:
gives:
Expected output
No error
Did PHPStan help you today? Did it make you happy in any way?
PHPStan helps me every day.
The text was updated successfully, but these errors were encountered: