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