Reformatted as per Yii2 coding standards