1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 20:54:04 +00:00

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-08-20 10:15:06 +00:00 committed by StyleCI Bot
parent 4c676b41e9
commit 787063ed73
4 changed files with 5 additions and 5 deletions

View file

@ -54,7 +54,7 @@ final class DatabaseManager
$databaseManagers = config('tenancy.database_managers');
if (! \array_key_exists($driver, $databaseManagers)) {
throw new DatabaseManagerNotRegisteredException("Database could not be created", $driver);
throw new DatabaseManagerNotRegisteredException('Database could not be created', $driver);
}
if (config('tenancy.queue_database_creation', false)) {
@ -80,7 +80,7 @@ final class DatabaseManager
$databaseManagers = config('tenancy.database_managers');
if (! \array_key_exists($driver, $databaseManagers)) {
throw new DatabaseManagerNotRegisteredException("Database could not be deleted", $driver);
throw new DatabaseManagerNotRegisteredException('Database could not be deleted', $driver);
}
if (config('tenancy.queue_database_deletion', false)) {

View file

@ -8,4 +8,4 @@ class TenantCouldNotBeIdentifiedException extends \Exception
{
$this->message = "Tenant could not be identified on domain $domain";
}
}
}

View file

@ -2,9 +2,9 @@
namespace Stancl\Tenancy\StorageDrivers;
use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException;
use Stancl\Tenancy\Tenant;
use Stancl\Tenancy\Interfaces\StorageDriver;
use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException;
class DatabaseStorageDriver implements StorageDriver
{

View file

@ -3,8 +3,8 @@
namespace Stancl\Tenancy\StorageDrivers;
use Illuminate\Support\Facades\Redis;
use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException;
use Stancl\Tenancy\Interfaces\StorageDriver;
use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException;
class RedisStorageDriver implements StorageDriver
{