1
0
Fork 0
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:
PHP CS Fixer 2022-09-24 18:16:51 +00:00
parent 97e45ab9cc
commit 98254cf3db
3 changed files with 5 additions and 1 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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)
); );
} }