phpstan
phpstan copied to clipboard
Method return value not recognized when calling an other method in between
Code snippet that reproduces the problem
https://phpstan.org/r/88b4ba76-8196-4568-9da7-943ea5b5695b
Expected output
Should detect valid not-null array here, as it does when you remove $this->doSomething();
here.
Did PHPStan help you today? Did it make you happy in any way?
Working hard to increase 2 levels this week :)