diff --git a/src/Providers/AbstractServiceProvider.php b/src/Providers/AbstractServiceProvider.php index 9834740b7..2216d797e 100644 --- a/src/Providers/AbstractServiceProvider.php +++ b/src/Providers/AbstractServiceProvider.php @@ -318,7 +318,7 @@ protected function getConfigInstance($key) $instance = $this->config($key); if (is_string($instance)) { - return new $instance; + return $this->app->make($instance); } return $instance;