Always return cache driver instance.
This commit is contained in:
parent
a26efbc2e3
commit
6f26ce6e5f
|
@ -40,6 +40,8 @@ public static function driver($driver = null)
|
||||||
throw new \Exception("Cache driver [$driver] is not supported.");
|
throw new \Exception("Cache driver [$driver] is not supported.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return static::$drivers[$driver];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue