Multi-level inheritance
Closed this issue · 1 comments
oujesky commented
Lets have this code:
class A {
/**
* Documentation
*/
public function a() {}
}
class B extends A {
/**
* @inheritdoc
*/
public function a() {}
}
class C extends B {
/**
* @inheritdoc
*/
public function a() {}
}
Class B
will have the inherited documentation on the method a()
displayed correctly (taken from class A
), however class C
will display only "@inheritdoc" from its direct ancestor class B
.
If there would be no overriden method a()
in class B
, then the inherited documentation in class C
will be ok.
A picture is worth a thousand words:
Using version 1.3