From f6c29c35274c52576e7106d1722b974c24860d1a Mon Sep 17 00:00:00 2001 From: Samuel Stancl Date: Tue, 4 Aug 2020 18:11:50 +0200 Subject: [PATCH] Code style, note --- src/Tenancy.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Tenancy.php b/src/Tenancy.php index 30619e7d..9026bd1b 100644 --- a/src/Tenancy.php +++ b/src/Tenancy.php @@ -34,6 +34,7 @@ class Tenancy return; } + // TODO: Remove this (so that runForMultiple() is still performant) and make the FS bootstrapper work either way if ($this->initialized) { $this->end(); } @@ -44,7 +45,7 @@ class Tenancy $tenantId = $tenant; $tenant = $this->find($tenantId); - if (!$tenant) { + if (! $tenant) { throw new TenantCountNotBeIdentifiedById($tenantId); }