Fixed Yii2 statusCode

We changed the default value to 200 and removed the possibility to set it to null.
Merge pull request #691 from cebe/patch-1

Fixed Yii2 statusCode