phpstan-src
phpstan-src copied to clipboard
Detect not existing classes in @method annotations
Monday I asked in the #static-analysis Slack channel of the Symfony Devs workspace if PHPStan is able to detect not-existing classes in the return type of @method annotations. I provided this example, but looks like this is not handled right now, so here's the Pull Request for that.