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

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-10-16 06:56:49 +00:00 committed by StyleCI Bot
parent 74fbd816c2
commit 38edec6422
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,7 @@
<?php <?php
declare(strict_types=1);
namespace Stancl\Tenancy\Exceptions; namespace Stancl\Tenancy\Exceptions;
use Exception; use Exception;
@ -10,4 +12,4 @@ class TenantDoesNotExistException extends Exception
{ {
$this->message = "Tenant with this id does not exist: $id"; $this->message = "Tenant with this id does not exist: $id";
} }
} }

View file

@ -62,7 +62,7 @@ class TenantManager
$this->ensureTenantCanBeCreated($tenant); $this->ensureTenantCanBeCreated($tenant);
$this->storage->createTenant($tenant); $this->storage->createTenant($tenant);
$afterCreating = []; $afterCreating = [];
if ($this->shouldMigrateAfterCreation()) { if ($this->shouldMigrateAfterCreation()) {
if ($this->shouldQueueMigration()) { if ($this->shouldQueueMigration()) {