laravel/framework — pull request #1103 by chrisreiduk (2013-04-29 02:13:02+00:00)
Title: [BUG] Adding to a collection after the dictionary has been built adds a ...

...boolean true to the dictionary key, rather than a model instance.

Fixed to add the Model to the dictionary when using $collection->add() rather than (bool) true. Otherwise $collection->find() method will just return true rather than the Model itself.