From 21a2b3f01d40414556407c80e4cd4259733d0b1a Mon Sep 17 00:00:00 2001 From: stancl Date: Sat, 30 May 2020 15:15:07 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Features/TenantConfig.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Features/TenantConfig.php b/src/Features/TenantConfig.php index db4eebc8..fb09a871 100644 --- a/src/Features/TenantConfig.php +++ b/src/Features/TenantConfig.php @@ -44,7 +44,6 @@ class TenantConfig implements Feature public function setTenantConfig(Tenant $tenant): void { /** @var Tenant|Model $tenant */ - foreach (static::$storageToConfigMap as $storageKey => $configKey) { $override = $tenant->getAttribute($storageKey); @@ -53,7 +52,7 @@ class TenantConfig implements Feature foreach ($configKey as $key) { $this->originalConfig[$key] = $this->originalConfig[$key] ?? $this->config[$key]; - $this->config[$key] = $override; + $this->config[$key] = $override; } } else { $this->originalConfig[$configKey] = $this->originalConfig[$configKey] ?? $this->config[$configKey];