We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea41096 commit eb6e631Copy full SHA for eb6e631
1 file changed
src/CoreServiceProvider.php
@@ -36,7 +36,7 @@ public function register()
36
$config = config('coreplex');
37
38
$this->app->singleton('Coreplex\Core\Contracts\Renderer', function ($app) use ($config) {
39
- return (new ReflectionClass($config['renderer']['driver']))->newInstanceArgs($app['view']);
+ return (new ReflectionClass($config['renderer']['driver']))->newInstanceArgs([$app['view']]);
40
});
41
42
$this->app->singleton('Coreplex\Core\Contracts\Session', function ($app) use ($config) {
0 commit comments