Skip to content

Commit

Permalink
Issue with binding
Browse files Browse the repository at this point in the history
Binding resolution exception occurred as Laravel attempted to resolve the dependency before injecting configuration.
  • Loading branch information
subfission committed Apr 17, 2016
1 parent 503e6c4 commit b40fab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Subfission/Cas/CasServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function boot()
public function register()
{
$this->app->singleton('cas', function () {
return $this->app->make( 'Subfission\Cas\CasManager', config('cas') );
return new CasManager( config('cas') );
});
}

Expand Down

0 comments on commit b40fab6

Please sign in to comment.