Bug report
I guess exception classes are mixed up because of similar name (even though different namespace)
Code snippet that reproduces the problem
https://phpstan.org/r/eae0a69f-065b-4ef4-985f-6d1f59f9ffb6
Expected output
no error
Did PHPStan help you today? Did it make you happy in any way?
No response