@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public function handle($request, \Closure $next) |
50 | 50 | { |
51 | - if(!$tenant = $this->resolveTenant($request)) { |
|
51 | + if (!$tenant = $this->resolveTenant($request)) { |
|
52 | 52 | throw new NotFoundHttpException(); |
53 | 53 | } |
54 | 54 | |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | protected function resolveTenant($request) |
80 | 80 | { |
81 | - if(!$uuid = $request->route('uuid')) { |
|
81 | + if (!$uuid = $request->route('uuid')) { |
|
82 | 82 | if (config('saml2.debug')) { |
83 | 83 | Log::debug('[Saml2] Tenant UUID is not present in the URL so cannot be resolved', [ |
84 | 84 | 'url' => $request->fullUrl() |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | return null; |
89 | 89 | } |
90 | 90 | |
91 | - if(!$tenant = $this->tenants->findByUUID($uuid)) { |
|
91 | + if (!$tenant = $this->tenants->findByUUID($uuid)) { |
|
92 | 92 | if (config('saml2.debug')) { |
93 | 93 | Log::debug('[Saml2] Tenant doesn\'t exist', [ |
94 | 94 | 'uuid' => $uuid |
@@ -98,9 +98,9 @@ discard block |
||
98 | 98 | return null; |
99 | 99 | } |
100 | 100 | |
101 | - if($tenant->trashed()) { |
|
101 | + if ($tenant->trashed()) { |
|
102 | 102 | if (config('saml2.debug')) { |
103 | - Log::debug('[Saml2] Tenant #' . $tenant->id. ' resolved but marked as deleted', [ |
|
103 | + Log::debug('[Saml2] Tenant #' . $tenant->id . ' resolved but marked as deleted', [ |
|
104 | 104 | 'id' => $tenant->id, |
105 | 105 | 'uuid' => $uuid, |
106 | 106 | 'deleted_at' => $tenant->deleted_at->toDateTimeString() |