Bug report
because of CallLike->getArgs() is called on expressions before checking whether its a first-class callable, analyzing the given snippet url crashes
Code snippet that reproduces the problem
https://phpstan.org/r/d9e70fc7-174d-4e20-89d8-0fd67615e9a2
Expected output
phpstan should not assert/crash in the snippet
Did PHPStan help you today? Did it make you happy in any way?
No response
Bug report
because of
CallLike->getArgs()is called on expressions before checking whether its a first-class callable, analyzing the given snippet url crashesCode snippet that reproduces the problem
https://phpstan.org/r/d9e70fc7-174d-4e20-89d8-0fd67615e9a2
Expected output
phpstan should not assert/crash in the snippet
Did PHPStan help you today? Did it make you happy in any way?
No response