Closed knvpk closed 9 years ago
Broke the tests, and not exactly what we want here.
Yes i know it will broke the tests because im changing the behavior. may i know the reason why returning array if the count is one and collection if count more than one.
Always return the collection of items on create so that it is easy for testing the models with laravel collection items. In laravel when creating the models they return Collection items back whether the count is 1 or not.