@@ -44,7 +44,9 @@ class Auth {
{
if (isset(static::$registrar[$driver]))
- return static::$registrar[$driver]();
+ $resolver = static::$registrar[$driver];
+
+ return $resolver();
}
switch ($driver)
@@ -54,7 +54,9 @@ class Cache {
@@ -75,7 +75,9 @@ class Database {
- return static::$registrar[$driver]['connector']();
+ $resolver = static::$registrar[$driver]['connector'];
@@ -56,7 +56,9 @@ class Session {