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 works correctly only if a closest parent has actual description (methods) #254

Open
arogachev opened this issue Dec 10, 2021 · 0 comments
Assignees
Labels
Milestone

Comments

@arogachev
Copy link
Contributor

Extracted from #194. Reported by @neoacevedo.

What steps will reproduce the problem?

#194 (comment)

What's expected?

Replaced description from a parent method.

What do you get instead?

Error: Call to a member function getNamespaceAliases() on null

if (isset($context->phpDocContext->getNamespaceAliases()[$object])) {

Additional info

Q A
Yii version doesn't matter
Yii APIDoc version master
PHP version doesn't matter
Operating system doesn't matter
@arogachev arogachev added the type:bug Bug label Dec 10, 2021
@arogachev arogachev added this to the 3.1.0 milestone Dec 10, 2021
@arogachev arogachev self-assigned this Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant