Fix little issue with Laravel 4.1. Fixes #322.

Signed-off-by: Ben Corlett <bencorlett@me.com>