mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
Removed reference from closure
This commit is contained in:
@@ -14,7 +14,7 @@ class ShoppingcartServiceProvider extends ServiceProvider {
|
|||||||
|
|
||||||
$this->app['cart'] = $this->app->share(function($app)
|
$this->app['cart'] = $this->app->share(function($app)
|
||||||
{
|
{
|
||||||
$session = $this->app['session'];
|
$session = $app['session'];
|
||||||
return new Cart($session);
|
return new Cart($session);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user