mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 14:14:04 +00:00
Fix code style (php-cs-fixer)
This commit is contained in:
parent
56dd4117ab
commit
19631f4e9a
2 changed files with 4 additions and 2 deletions
|
|
@ -47,7 +47,9 @@ class InitializeTenancyByDomain extends IdentificationMiddleware
|
|||
$domain = $this->getDomain($request);
|
||||
|
||||
// Mainly used with origin identification if the header isn't specified and e.g. universal routes are used
|
||||
if (! $domain) return false;
|
||||
if (! $domain) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return ! in_array($domain, config('tenancy.identification.central_domains'));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ use Exception;
|
|||
use Illuminate\Http\Request;
|
||||
use Illuminate\Http\Response;
|
||||
use Stancl\Tenancy\Concerns\UsableWithEarlyIdentification;
|
||||
use Stancl\Tenancy\Resolvers\DomainTenantResolver;
|
||||
use Stancl\Tenancy\Contracts\TenantCouldNotBeIdentifiedException;
|
||||
use Stancl\Tenancy\Resolvers\DomainTenantResolver;
|
||||
|
||||
class InitializeTenancyByDomainOrSubdomain extends InitializeTenancyBySubdomain
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue