Fixes #6033.
Merge branch 'master' of git://github.com/yiisoft/yii2