mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:04:03 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
a1e9102ec6
commit
1790e050c5
1 changed files with 3 additions and 1 deletions
|
|
@ -28,7 +28,9 @@ class InitializeTenancy
|
|||
*/
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
if (tenancy()->initialized) return $next($request);
|
||||
if (tenancy()->initialized) {
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
if (! in_array($request->getHost(), config('tenancy.exempt_domains', []), true)) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue