From 7f335274bf2484a59f54b6a79f997f4614e3dee9 Mon Sep 17 00:00:00 2001 From: alxy Date: Mon, 11 Aug 2014 10:30:52 +0200 Subject: [PATCH] Fix a copy paste error (probably) I don't use this helper, however, I guess that line wasnt correct. --- src/Generator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator.php b/src/Generator.php index e0d90ff..27444ed 100644 --- a/src/Generator.php +++ b/src/Generator.php @@ -71,7 +71,7 @@ class Generator protected function detectDrivers() { try{ - if (class_exists('Cache')) { + if (class_exists('Auth')) { $class = get_class(\Auth::driver()); $this->extra['Auth'] = array($class); $this->interfaces['\Illuminate\Auth\UserProviderInterface'] = $class;