mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 17:14:03 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
5d7d208e2f
commit
a3a38ee6d2
5 changed files with 16 additions and 10 deletions
|
|
@ -98,7 +98,7 @@ class DatabaseManager
|
|||
|
||||
/**
|
||||
* Check if a tenant can be created.
|
||||
*
|
||||
*
|
||||
* @throws TenantCannotBeCreatedException
|
||||
* @throws DatabaseManagerNotRegisteredException
|
||||
* @throws TenantDatabaseAlreadyExistsException
|
||||
|
|
@ -160,7 +160,7 @@ class DatabaseManager
|
|||
}
|
||||
|
||||
foreach ($afterCreating as $item) {
|
||||
if (is_object($item) && !$item instanceof Closure) {
|
||||
if (is_object($item) && ! $item instanceof Closure) {
|
||||
$item->handle($tenant);
|
||||
} else {
|
||||
$item($tenant);
|
||||
|
|
@ -170,7 +170,7 @@ class DatabaseManager
|
|||
|
||||
/**
|
||||
* Delete a tenant's database.
|
||||
*
|
||||
*
|
||||
* @throws DatabaseManagerNotRegisteredException
|
||||
*/
|
||||
public function deleteDatabase(Tenant $tenant)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue