Fix Yii2 Composer Bug

- I should probably fix this in the main Yii2 codebase.