mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 20:14:03 +00:00
Merge branch 'master' of github.com:archtechx/tenancy
This commit is contained in:
commit
5ceee3b9b4
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue