Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{@inheritDoc} doesn't support multiple levels of inheritage #35

Open
DerManoMann opened this issue Dec 10, 2010 · 1 comment
Open

{@inheritDoc} doesn't support multiple levels of inheritage #35

DerManoMann opened this issue Dec 10, 2010 · 1 comment

Comments

@DerManoMann
Copy link
Contributor

If a method/class is overwritten/extended multiple times with both sublalsses using {@inheritdoc}, the tag is not resolved.
Instead, the {@inheritdoc} of the respective parent class is used.

The code would need to go up the class hierarchy until it finds the first non {@inheritdoc} documentation block.

@dbu
Copy link

dbu commented May 26, 2011

another non-working case is:
class A with method a
class B extends A but does not overwrite method a
class C extends B and overwrites method a, uses {@inheritdoc}

the doc of method a in class C is just empty.

dbu added a commit to jackalope/jackalope-prismic that referenced this issue Apr 20, 2014
dbu added a commit to jackalope/jackalope-prismic that referenced this issue Apr 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants