Added 5.8.* compatibility
Updated dependency versions
Added phpunit result cache to gitignore
This commit is contained in:
Patrick Henninger
2019-03-01 14:59:44 +01:00
parent 1e96466ee4
commit 1499475663
5 changed files with 43 additions and 28 deletions

View File

@@ -149,7 +149,7 @@ class Cart
$content->put($item->rowId, $item);
$this->events->fire('cart.added', $item);
$this->events->dispatch('cart.added', $item);
$this->session->put($this->instance, $content);
@@ -195,7 +195,7 @@ class Cart
$content->put($cartItem->rowId, $cartItem);
}
$this->events->fire('cart.updated', $cartItem);
$this->events->dispatch('cart.updated', $cartItem);
$this->session->put($this->instance, $content);
@@ -217,7 +217,7 @@ class Cart
$content->pull($cartItem->rowId);
$this->events->fire('cart.removed', $cartItem);
$this->events->dispatch('cart.removed', $cartItem);
$this->session->put($this->instance, $content);
}
@@ -582,7 +582,7 @@ class Cart
'content' => serialize($content),
]);
$this->events->fire('cart.stored');
$this->events->dispatch('cart.stored');
}
/**
@@ -617,7 +617,7 @@ class Cart
$content->put($cartItem->rowId, $cartItem);
}
$this->events->fire('cart.restored');
$this->events->dispatch('cart.restored');
$this->session->put($this->instance, $content);