https://github.com/yiisoft/yii/commit/5da6b89065e7e4a35f7b26bd09ae3c20d0e05ab3