laravel/docs — pull request #642 by orrd (2014-02-12 21:43:14+00:00)
Title: Fixed filter() sample code.

The filter() method callback should return true/false, not the actual object. The existing code technically worked, but was misleading and not ideal.