1
0
Fork 0
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:
PHP CS Fixer 2024-11-09 19:54:56 +00:00
parent 56dd4117ab
commit 19631f4e9a
2 changed files with 4 additions and 2 deletions

View file

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