-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Labels
Description
Example: https://phpstan.org/r/3582fd00-ec4a-4d8e-bff7-40e6804ebc86
Normal @method works fine. PHPStan reads it and sees the method foo exists and uses it. But the same thing does not work with phpstan-method annotation. I'm not sure if this is not supported or it is a bug.
The reason for this is, sometimes IDEs do not support the syntax that PHPStan has. So I want to use both method and phpstan-method annotations. method will be for IDEs and code autocompletion, phpstan-method will be for PHPStan.
Reactions are currently unavailable