laravel/framework — pull request #4886 by JosephSilber (2014-06-29 08:01:38+00:00)
Title: Use negated filter for reject

Since `reject` is just the inverse of `filter`, there's no need to re-invent the wheel.

Also, this is a micro optimization against checking `$callback instanceof Closure` in every iteration.

---

Another option would be to do a diff:
```php
if ($callback instanceof Closure)
{
return $this->diff($this->filter($callback));
}
```

But I'm afraid that'll slow down this operation when dealing with bigger collections.