Misha
Misha
Hi, if use dependency injection "Refresh routes" throw PHP Recoverable Error https://yadi.sk/i/BCITOaHV3HNpvA at line: https://github.com/webvimark/user-management/blob/master/components/AuthHelper.php#L353 It`s fixed if to use `$controller = Yii::createObject($className, [$prefix . $id, $module]);`
OS version: [Win 10] Editor: [PhpStorm] Editor version: 2022.2.5 Programming language: [php] TabNine extension version: 1.0.7 File encoding: UTF-8  gz#23343(related to Zendesk ticket #23343)
### What steps will reproduce the problem? 1) Create class QueryMyDb extends \yii\db\Query 2) Modify function in QueryModified ```php public function createCommand($db = null) { if ($db === null) {...