mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:14:04 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
a4b1553df7
commit
ab9400e81c
2 changed files with 3 additions and 3 deletions
|
|
@ -4,8 +4,8 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Stancl\Tenancy\StorageDrivers;
|
namespace Stancl\Tenancy\StorageDrivers;
|
||||||
|
|
||||||
use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException;
|
|
||||||
use Stancl\Tenancy\Contracts\StorageDriver;
|
use Stancl\Tenancy\Contracts\StorageDriver;
|
||||||
|
use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException;
|
||||||
use Stancl\Tenancy\TenantModel as Tenant;
|
use Stancl\Tenancy\TenantModel as Tenant;
|
||||||
|
|
||||||
class DatabaseStorageDriver implements StorageDriver
|
class DatabaseStorageDriver implements StorageDriver
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ namespace Stancl\Tenancy\StorageDrivers;
|
||||||
|
|
||||||
use Illuminate\Contracts\Redis\Factory as Redis;
|
use Illuminate\Contracts\Redis\Factory as Redis;
|
||||||
use Illuminate\Foundation\Application;
|
use Illuminate\Foundation\Application;
|
||||||
use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException;
|
|
||||||
use Stancl\Tenancy\Contracts\StorageDriver;
|
use Stancl\Tenancy\Contracts\StorageDriver;
|
||||||
|
use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException;
|
||||||
use Stancl\Tenancy\Tenant;
|
use Stancl\Tenancy\Tenant;
|
||||||
|
|
||||||
class RedisStorageDriver implements StorageDriver
|
class RedisStorageDriver implements StorageDriver
|
||||||
|
|
@ -59,7 +59,7 @@ class RedisStorageDriver implements StorageDriver
|
||||||
|
|
||||||
$data = array_combine($keys, $values);
|
$data = array_combine($keys, $values);
|
||||||
$domains = []; // todo
|
$domains = []; // todo
|
||||||
|
|
||||||
return Tenant::fromStorage($data)->withDomains($domains);
|
return Tenant::fromStorage($data)->withDomains($domains);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue