mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:04:03 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
74fbd816c2
commit
38edec6422
2 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stancl\Tenancy\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
|
@ -10,4 +12,4 @@ class TenantDoesNotExistException extends Exception
|
|||
{
|
||||
$this->message = "Tenant with this id does not exist: $id";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ class TenantManager
|
|||
$this->ensureTenantCanBeCreated($tenant);
|
||||
|
||||
$this->storage->createTenant($tenant);
|
||||
|
||||
|
||||
$afterCreating = [];
|
||||
if ($this->shouldMigrateAfterCreation()) {
|
||||
if ($this->shouldQueueMigration()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue