Skip to content

Commit

Permalink
Merge pull request #53 from lukepolo/lukepolo-patch-1
Browse files Browse the repository at this point in the history
Update LaraCartServiceProvider.php
  • Loading branch information
lukepolo committed Jan 19, 2016
2 parents 36ff6ee + 9c2725a commit 7236142
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/LaraCartServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,8 @@ public function boot()
*/
public function register()
{
$this->app->singleton(
LaraCartContract::class,
LaraCart::class
);

$this->app->singleton(
'laracart',
function ($app) {
return $app->make(LaraCartContract::class);
$this->app->singleton('laracart', function ($app) {
return new LaraCart();
}
);

Expand Down

0 comments on commit 7236142

Please sign in to comment.