Bug report
Hello!
We just upgraded PHPStan (v2.1.8 to v2.1.11) and now we're getting method.notFound false positives despite checking method_exists prior to calling the methods---this was working before.
Thanks!
Code snippet that reproduces the problem
https://phpstan.org/r/ca795e85-44ad-4fcd-80c9-a65afbb09748
Expected output
I would expect there to be no errors
Did PHPStan help you today? Did it make you happy in any way?
No response