diff --git a/src/CacheManager.php b/src/CacheManager.php index d19a02929..88428353a 100644 --- a/src/CacheManager.php +++ b/src/CacheManager.php @@ -20,10 +20,10 @@ public function __call($method, $parameters) $tags = [config('tenancy.cache.tag_base') . tenant()->getTenantKey()]; if ($method === 'tags') { - $parameter_count = count($parameters); + $count = count($parameters); - if ($parameter_count !== 1) { - throw new \Exception("Method tags() takes exactly 1 argument. {$parameter_count} passed."); + if ($count !== 1) { + throw new \Exception("Method tags() takes exactly 1 argument. $count passed."); } $names = $parameters[0];