mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
StyleCI
This commit is contained in:
@@ -171,7 +171,7 @@ class Cart
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->session->put($this->instance, $content);
|
$this->session->put($this->instance, $content);
|
||||||
|
|
||||||
if ($dispatchEvent) {
|
if ($dispatchEvent) {
|
||||||
$this->events->dispatch('cart.added', $item);
|
$this->events->dispatch('cart.added', $item);
|
||||||
}
|
}
|
||||||
@@ -229,7 +229,7 @@ class Cart
|
|||||||
$this->events->dispatch('cart.updating', $cartItem);
|
$this->events->dispatch('cart.updating', $cartItem);
|
||||||
|
|
||||||
$this->session->put($this->instance, $content);
|
$this->session->put($this->instance, $content);
|
||||||
|
|
||||||
$this->events->dispatch('cart.updated', $cartItem);
|
$this->events->dispatch('cart.updated', $cartItem);
|
||||||
|
|
||||||
return $cartItem;
|
return $cartItem;
|
||||||
@@ -253,7 +253,7 @@ class Cart
|
|||||||
$this->events->dispatch('cart.removing', $cartItem);
|
$this->events->dispatch('cart.removing', $cartItem);
|
||||||
|
|
||||||
$this->session->put($this->instance, $content);
|
$this->session->put($this->instance, $content);
|
||||||
|
|
||||||
$this->events->dispatch('cart.removed', $cartItem);
|
$this->events->dispatch('cart.removed', $cartItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user