1
0
Fork 0
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:
stancl 2020-04-30 18:48:32 +00:00 committed by StyleCI Bot
parent 5d7d208e2f
commit a3a38ee6d2
5 changed files with 16 additions and 10 deletions

View file

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