mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 18:34:04 +00:00
Fix code style (php-cs-fixer)
This commit is contained in:
parent
97e45ab9cc
commit
98254cf3db
3 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Stancl\Tenancy\Repository;
|
namespace Stancl\Tenancy\Repository;
|
||||||
|
|
||||||
use Illuminate\Database\Eloquent\Builder;
|
use Illuminate\Database\Eloquent\Builder;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Stancl\Tenancy\Repository;
|
namespace Stancl\Tenancy\Repository;
|
||||||
|
|
||||||
use Stancl\Tenancy\Contracts\Tenant;
|
use Stancl\Tenancy\Contracts\Tenant;
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ class CachedTenantResolver implements TenantResolver
|
||||||
return $this->cache->remember(
|
return $this->cache->remember(
|
||||||
key: $this->getCacheKey(...$args),
|
key: $this->getCacheKey(...$args),
|
||||||
ttl: $this->ttl,
|
ttl: $this->ttl,
|
||||||
callback: fn() => $this->tenantResolver->resolve(...$args)
|
callback: fn () => $this->tenantResolver->resolve(...$args)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue