mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 01:34:02 +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'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue