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

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-09-11 17:25:45 +00:00 committed by StyleCI Bot
parent 445b2650cf
commit b800b22bca

View file

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