phpstan-src icon indicating copy to clipboard operation
phpstan-src copied to clipboard

Detect not existing classes in @method annotations

Open alfredbez opened this issue 2 years ago • 0 comments

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.

alfredbez avatar Feb 22 '23 09:02 alfredbez