Open
Description
/**
* @method int foo()
* @method static Closure():void test()
* @property-read int $val
*/
class X{}
Expected: Should generate tags for @method
, @property
, and @property-read
/@property-write
Observed: doesn't.
A library I've seen used (by php-language-server) is https://github.com/phpstan/phpdoc-parser - I haven't used it, but it may be of help in parsing common but unofficial phpdoc union types. Haven't checked if it provides line number information.
Metadata
Metadata
Assignees
Labels
No labels