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

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-09-11 15:34:44 +00:00 committed by StyleCI Bot
parent 088501a939
commit 42afbca997

View file

@ -73,7 +73,7 @@ class RedisStorageDriver implements StorageDriver
{
$this->redis->pipeline(function ($pipe) use ($tenant) {
$this->redis->hmset("tenants:{$tenant->id}", $tenant->data);
foreach ($tenant->domains as $domain) {
$this->redis->hmset("domains:$domain", 'tenant_id', $tenant->id);
}