From 432dd8fd1d03e2a2b0cf1f33ce6f794984f47baa Mon Sep 17 00:00:00 2001 From: Jesper Jacobsen Date: Sun, 27 Oct 2019 11:29:51 +0100 Subject: [PATCH] Fixed styling --- src/Middleware/InitializeTenancyByRequestData.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Middleware/InitializeTenancyByRequestData.php b/src/Middleware/InitializeTenancyByRequestData.php index 8f324c0a..f96ffc56 100644 --- a/src/Middleware/InitializeTenancyByRequestData.php +++ b/src/Middleware/InitializeTenancyByRequestData.php @@ -7,7 +7,7 @@ namespace Stancl\Tenancy\Middleware; use Closure; use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException; -class InitializeTenancy +class InitializeTenancyByRequestData { /** @var callable */ protected $onFail; @@ -28,7 +28,7 @@ class InitializeTenancy */ public function handle($request, Closure $next) { - if(request()->method() !== 'OPTIONS') { + if (request()->method() !== 'OPTIONS') { try { $this->parseTenant(); } catch (TenantCouldNotBeIdentifiedException $e) {