Skip to content

Commit

Permalink
IoC fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandedeyne committed Apr 27, 2016
1 parent bff6ac6 commit 4a49349
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/CheckoutServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ class CheckoutServiceProvider extends ServiceProvider
{
public function register()
{
$this->app->singleton(Checkout::class, function () {
return $this->app->make('Spatie\Checkout\Checkout');
});
$this->app->singleton(Checkout::class);

$this->app->alias(Checkout::class, 'checkout');
}
Expand Down

0 comments on commit 4a49349

Please sign in to comment.