1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 18:44:03 +00:00

Merge branch 'master' of github.com:archtechx/tenancy

This commit is contained in:
Samuel Štancl 2023-01-31 04:00:11 +01:00
commit 5ceee3b9b4

View file

@ -27,9 +27,7 @@ abstract class CachedTenantResolver implements TenantResolver
$key = $this->getCacheKey(...$args); $key = $this->getCacheKey(...$args);
if ($this->cache->has($key)) { if ($tenant = $this->cache->get($key)) {
$tenant = $this->cache->get($key);
$this->resolved($tenant, ...$args); $this->resolved($tenant, ...$args);
return $tenant; return $tenant;