laravel/laravel — pull request #396 by cviebrock (2012-03-08 19:14:57+00:00)
Title: Make key optional for Messages->has() as well

Seems logical to me, if the key is optional for `first()` (i.e. get the first of all messages). This way:

```
$messages->has()
```

will tell you if there are any messages at all. Less code than using `count()` or something.

Signed-off-by: Colin Viebrock