I have two classes in PHP: Figure
and Circle
. Circle
extends Figure
. Figure
has a method draw()
. Circle
inherits this method and overrides it.
The draw()
method is commented in the parent class, but it does not have a comment in the Circle
class as it shall inherit it.
/**
* Description of Figure
*
* @author admin
*/
class Figure{
/**
* Does something
*/
public function draw() {
}
}
/**
* Description of Circle
*
* @author admin
*/
class Circle extends Figure{
public function draw() {
//overriden method
}
}
Doxygen says: "warning: Member draw() (function) of class Circle is not documented."
How to make Doxygen put in the inherited comment?