yiisoft / yii2-apidoc

Yii 2 apidoc extension.
https://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
258 stars 121 forks source link

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

Closed arogachev closed 2 years ago

arogachev commented 2 years ago

What steps will reproduce the problem?

Try to generate API documentation for this class in yii2-app-advanced extension - https://github.com/yiisoft/yii2-app-advanced/blob/b4448ba93d00927fd47a3a8f129af36242a2fda3/frontend/models/ResendVerificationEmailForm.php.

What's expected?

No errors, API docs are successfully generated.

What do you get instead?

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

Additional info

Q A
Yii version doesn't matter
Yii APIDoc version 3.0.0
PHP version doesn't matter
Operating system doesn't matter