mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 23:14:03 +00:00
Fix small bug in CacheManager
This commit is contained in:
parent
13bc3da9da
commit
d4d4119754
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ class CacheManager extends BaseCacheManager
|
|||
$tags = [config('tenancy.cache.tag_base') . tenant('uuid')];
|
||||
|
||||
if ($method === "tags") {
|
||||
if (count($parameters == 1) && is_array($parameters[0])) {
|
||||
if (count($parameters) == 1 && is_array($parameters[0])) {
|
||||
$parameters = [$parameters]; // cache()->tags('foo') https://laravel.com/docs/5.7/cache#removing-tagged-cache-items
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue