From 69d4c321a6b0824cc805f79844e87916c350749c Mon Sep 17 00:00:00 2001 From: lukinovec Date: Mon, 24 Apr 2023 07:54:05 +0200 Subject: [PATCH] Delete "?" from `tenant()?->getTenantKey() --- src/CacheManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CacheManager.php b/src/CacheManager.php index 292d9813..f28134b8 100644 --- a/src/CacheManager.php +++ b/src/CacheManager.php @@ -18,7 +18,7 @@ class CacheManager extends BaseCacheManager */ public function __call($method, $parameters) { - $tags = [config('tenancy.cache.tag_base') . tenant()?->getTenantKey()]; + $tags = [config('tenancy.cache.tag_base') . tenant()->getTenantKey()]; if ($method === 'tags') { $count = count($parameters);