Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Implemented
-
11.2
-
None
Description
Currently NetBeans IDE supports inheritance of docblocks containing @inheritdoc annotation.
It would be useful if docblocks are inherited even in case when there is no docblock present.
Example:
class Circle { /** * Hides circle */ public function hide() { } /** * Shows circle */ public function show() { } } class SpecialCircle extends Circle { /** * {@inheritdoc} */ public function hide() { parent::hide(); } public function show() { parent::show(); } public function redraw() { $this->hide(); // Text "Hides circle" is shown $this->show(); // Text "PHPDoc not found" is shown, expected "Shows circle" } }