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(); }
Try something like this:
/**
* @method SomeClass getAll()
*/
class AbcChild
{
// ....
}
More info about @method
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With