1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 23:34:03 +00:00

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-09-08 14:52:18 +00:00 committed by StyleCI Bot
parent de54b5708c
commit 8206cd07cc
3 changed files with 5 additions and 3 deletions

View file

@ -26,7 +26,7 @@ interface TenantDatabaseManager
* Does a database exist.
*
* @param string $name
* @return boolean
* @return bool
*/
public function databaseExists(string $name): bool;
}

View file

@ -7,8 +7,8 @@ namespace Stancl\Tenancy;
use Illuminate\Foundation\Application;
use Stancl\Tenancy\Jobs\QueuedTenantDatabaseCreator;
use Illuminate\Database\DatabaseManager as BaseDatabaseManager;
use Stancl\Tenancy\Exceptions\DatabaseManagerNotRegisteredException;
use Stancl\Tenancy\Exceptions\TenantDatabaseAlreadyExistsException;
use Stancl\Tenancy\Exceptions\DatabaseManagerNotRegisteredException;
class DatabaseManagerv2
{

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Exceptions;
use Stancl\Tenancy\Contracts\TenantCannotBeCreatedException;
@ -20,4 +22,4 @@ class TenantDatabaseAlreadyExistsException extends TenantCannotBeCreatedExceptio
$this->database = $database;
}
}
}