Fixed Yii2 statusCode

We changed the default value to 200 and removed the possibility to set it to null.