Fix compatibility issue with latest Laravel updates. Fixes #156 and closes #159.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>