php-language-server
php-language-server copied to clipboard
Feature Request: "@var" Definition of class inside block comment
/* @var $book Book */ // <--- to be able ctrl+click the Book
$book = new Book();
// or
/** @var Book $book */ // <--- to be able ctrl+click the Book
$book = methodToGetTheBook();
$book->doSomething(); // <--- to be able ctrl+click the doSomething method
Thanks :)
https://github.com/felixfbecker/php-language-server/issues/650
/** @see Class::method() */ isn't working
/** @method mixed getIsActive() */ isn't working
Is PHPDoc implemented at all?