From d4d411975496272158d7823597427fad8966fff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Wed, 13 Feb 2019 16:46:35 +0100 Subject: [PATCH] Fix small bug in CacheManager --- src/CacheManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CacheManager.php b/src/CacheManager.php index b912c4d8..98ff4415 100644 --- a/src/CacheManager.php +++ b/src/CacheManager.php @@ -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 }