Skip to content

inheritdoc works correctly only if a closest parent has actual description (methods) #254

@arogachev

Description

@arogachev

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions