?->
within an if statement doesn't correctly reduce the type
#4690
Labels
?->
within an if statement doesn't correctly reduce the type
#4690
Feature request
In this case, if
I
is null, or ifI::foo
returns false then we wont reachI::bar
.https://phpstan.org/r/d28d4d81-c04e-4a87-b727-22ce0ea16f96
The text was updated successfully, but these errors were encountered: