Skip to content

Commit eb6e631

Browse files
Updated argument passed to newInstanceArgs to array
1 parent ea41096 commit eb6e631

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CoreServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function register()
3636
$config = config('coreplex');
3737

3838
$this->app->singleton('Coreplex\Core\Contracts\Renderer', function ($app) use ($config) {
39-
return (new ReflectionClass($config['renderer']['driver']))->newInstanceArgs($app['view']);
39+
return (new ReflectionClass($config['renderer']['driver']))->newInstanceArgs([$app['view']]);
4040
});
4141

4242
$this->app->singleton('Coreplex\Core\Contracts\Session', function ($app) use ($config) {

0 commit comments

Comments
 (0)