1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 06:04:03 +00:00

Code style, note

This commit is contained in:
Samuel Stancl 2020-08-04 18:11:50 +02:00 committed by GitHub
parent e9c9c08b8d
commit f6c29c3527
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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