-
-
Notifications
You must be signed in to change notification settings - Fork 947
Failed Determine type in match operator #9601
Copy link
Copy link
Closed
Labels
Milestone
Description
Bug report
In the match operator, you can determine the type of the $object and throw an exception if there is no match!
Code snippet that reproduces the problem
Expected output
$object should be instanceof HelloWorld or HelloWorld2
Did PHPStan help you today? Did it make you happy in any way?
No response
Reactions are currently unavailable