Added assignment back. See https://github.com/yiisoft/yii2/pull/2285#discussion_r9566711