Always return cache driver instance.
This commit is contained in:
parent
a26efbc2e3
commit
6f26ce6e5f
@ -40,6 +40,8 @@ class Cache {
|
|||||||
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
Block a user