Fix auth bug and other resolver bugs.

This commit is contained in:
Taylor Otwell 2012-05-02 16:52:55 -05:00
parent cadfc3c50f
commit aca2a2ae1c
4 changed files with 12 additions and 4 deletions

View File

@ -44,7 +44,9 @@ protected static function factory($driver)
{
if (isset(static::$registrar[$driver]))
{
return static::$registrar[$driver]();
$resolver = static::$registrar[$driver];
return $resolver();
}
switch ($driver)

View File

@ -54,7 +54,9 @@ protected static function factory($driver)
{
if (isset(static::$registrar[$driver]))
{
return static::$registrar[$driver]();
$resolver = static::$registrar[$driver];
return $resolver();
}
switch ($driver)

View File

@ -75,7 +75,9 @@ protected static function connector($driver)
{
if (isset(static::$registrar[$driver]))
{
return static::$registrar[$driver]['connector']();
$resolver = static::$registrar[$driver]['connector'];
return $resolver();
}
switch ($driver)

View File

@ -56,7 +56,9 @@ public static function factory($driver)
{
if (isset(static::$registrar[$driver]))
{
return static::$registrar[$driver]();
$resolver = static::$registrar[$driver];
return $resolver();
}
switch ($driver)