Skip to content

Commit 66c0ccd

Browse files
authored
Merge pull request #1 from frezno/frezno-patch-1
Changing share to singleton
2 parents 27e7556 + 2fca5af commit 66c0ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Darryldecode/Cart/CartServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function register()
3232
{
3333
$this->mergeConfigFrom(__DIR__.'/config/config.php', 'shopping_cart');
3434

35-
$this->app['cart'] = $this->app->share(function($app)
35+
$this->app->singleton('cart', function($app)
3636
{
3737
$storage = $app['session'];
3838
$events = $app['events'];

0 commit comments

Comments
 (0)