From aeafa24971036dfe82ab598f3c05f911ce219293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 27 Sep 2019 21:22:59 +0200 Subject: [PATCH] Remove global config() call --- src/TenancyBootstrappers/RedisTenancyBootstrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TenancyBootstrappers/RedisTenancyBootstrapper.php b/src/TenancyBootstrappers/RedisTenancyBootstrapper.php index 0d5f88fe..0ec834c2 100644 --- a/src/TenancyBootstrappers/RedisTenancyBootstrapper.php +++ b/src/TenancyBootstrappers/RedisTenancyBootstrapper.php @@ -44,6 +44,6 @@ class RedisTenancyBootstrapper implements TenancyBootstrapper protected function prefixedConnections() { - return config('tenancy.redis.prefixed_connections'); + return $this->app['config']['tenancy.redis.prefixed_connections']; } }