CHANGELOG enty about #4791 fixed
Merge branch 'master' of github.com:yiisoft/yii2
Merge branch 'master' of github.com:yiisoft/yii2
`yii\db\Query::queryScalar()` fixed to use `static` when creating subquery