# Bug report Matching a case statement in a switch case does not narrow the type to the matched type. ### Code snippet that reproduces the problem https://phpstan.org/r/1abaa184-34da-407e-8e7f-db4159c86002 ### Expected output No errors