Fixes Yii2 refactor #2630
Merge pull request #15 from ivokund/patch-1

Fixes Yii2 refactor #2630