You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have @inheritDoc as the docblock to one of my inherited methods. The parent method is documented correctly, however, Squiz.Commenting does not appear to inherit the doc-block.
/**
* @inheritDoc
*/
public function __toString(): string { /* Child Class */ }
/**
* @throws DatabaseException
*
* @return string
*/
public function __toString(): string { /* Parent Class */ }
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------
31 | ERROR | Missing @return tag in function comment
| | (Squiz.Commenting.FunctionComment.MissingReturn)
31 | ERROR | Missing @throws tag in function comment
| | (Squiz.Commenting.FunctionCommentThrowTag.Missing)
----------------------------------------------------------------------