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:
parent
74fbd816c2
commit
38edec6422
2 changed files with 4 additions and 2 deletions
|
|
@ -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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue