We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 27e7556 + 2fca5af commit 66c0ccdCopy full SHA for 66c0ccd
src/Darryldecode/Cart/CartServiceProvider.php
@@ -32,7 +32,7 @@ public function register()
32
{
33
$this->mergeConfigFrom(__DIR__.'/config/config.php', 'shopping_cart');
34
35
- $this->app['cart'] = $this->app->share(function($app)
+ $this->app->singleton('cart', function($app)
36
37
$storage = $app['session'];
38
$events = $app['events'];
0 commit comments