mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 20:14:03 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
4c676b41e9
commit
787063ed73
4 changed files with 5 additions and 5 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue