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