mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:44:02 +00:00
backport ed02943 from v3
This commit is contained in:
parent
0fc105487b
commit
0c105c6d37
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class CacheManager extends BaseCacheManager
|
|||
throw new \Exception("Method tags() takes exactly 1 argument. $count passed.");
|
||||
}
|
||||
|
||||
$names = $parameters[0];
|
||||
$names = array_values($parameters)[0];
|
||||
$names = (array) $names; // cache()->tags('foo') https://laravel.com/docs/9.x/cache#removing-tagged-cache-items
|
||||
|
||||
return $this->store()->tags(array_merge($tags, $names));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue