1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 20:54:03 +00:00

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-09-27 18:56:57 +00:00 committed by StyleCI Bot
parent 72d16d8efd
commit b53da1309d

View file

@ -32,7 +32,7 @@ class TenantConfig implements Feature
public function setTenantConfig(Tenant $tenant): void public function setTenantConfig(Tenant $tenant): void
{ {
foreach($this->getStorageToConfigMap() as $storageKey => $configKey) { foreach ($this->getStorageToConfigMap() as $storageKey => $configKey) {
$this->app['config'][$configKey] = $tenant->get($storageKey); $this->app['config'][$configKey] = $tenant->get($storageKey);
} }
} }
@ -41,4 +41,4 @@ class TenantConfig implements Feature
{ {
return $this->app['config']['tenancy.storage_to_config_map'] ?? []; return $this->app['config']['tenancy.storage_to_config_map'] ?? [];
} }
} }