diff --git a/src/Contracts/TenantDatabaseManager.php b/src/Contracts/TenantDatabaseManager.php index 5e5bc696..2aceafab 100644 --- a/src/Contracts/TenantDatabaseManager.php +++ b/src/Contracts/TenantDatabaseManager.php @@ -26,7 +26,7 @@ interface TenantDatabaseManager * Does a database exist. * * @param string $name - * @return boolean + * @return bool */ public function databaseExists(string $name): bool; } diff --git a/src/DatabaseManagerv2.php b/src/DatabaseManagerv2.php index bd437053..5d370b86 100644 --- a/src/DatabaseManagerv2.php +++ b/src/DatabaseManagerv2.php @@ -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 { diff --git a/src/Exceptions/TenantDatabaseAlreadyExistsException.php b/src/Exceptions/TenantDatabaseAlreadyExistsException.php index f42fdc63..03606730 100644 --- a/src/Exceptions/TenantDatabaseAlreadyExistsException.php +++ b/src/Exceptions/TenantDatabaseAlreadyExistsException.php @@ -1,5 +1,7 @@ database = $database; } -} \ No newline at end of file +}