override return type in PHPDoc
phpdoc
Solution
Try something like this:
/**
* @method SomeClass getAll()
*/
class AbcChild
{
// ....
}
More info about `@method`
Problem
I have a class `Abc` with method (body is not important): ``` /** * @return SomeBaseClass */ function getAll() { ... } ``` In child class of `Abc` called `AbcChild` I'd like to redefine only type of returning class to see it properly in Netbeans. Can I do it without redefining method: ``` /** * @return SomeClass */ function getAll() { return parent::getAll(); } ```