Closed nunomaduro closed 9 years ago
Yes, I know, and I'm completely agree with you. It will be fixed in next releases. Thanks!
I already made a pull request to yii2-start-users-module to remove that method. After you aprove you can close this.
Thank you!
I think that getInstance function should not be used in your modules. Because for example if I want to create my own modules that extend from your modules that simple function will cause an exception. Because your module is not init in my main.php, only my module.
For example:
Maybe you should put like this: