change type to correct yii2 extension