1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 11:44:04 +00:00

Delete "?" from `tenant()?->getTenantKey()

This commit is contained in:
lukinovec 2023-04-24 07:54:05 +02:00
parent 5a158b9537
commit 69d4c321a6

View file

@ -18,7 +18,7 @@ class CacheManager extends BaseCacheManager
*/ */
public function __call($method, $parameters) public function __call($method, $parameters)
{ {
$tags = [config('tenancy.cache.tag_base') . tenant()?->getTenantKey()]; $tags = [config('tenancy.cache.tag_base') . tenant()->getTenantKey()];
if ($method === 'tags') { if ($method === 'tags') {
$count = count($parameters); $count = count($parameters);