Codstyle fixes

Yii2 conventions used.