From 73173955adfa1a4f76c7d6a6e6cc025aabc6daba Mon Sep 17 00:00:00 2001 From: Patrick Date: Sat, 16 Nov 2019 23:57:31 +0100 Subject: [PATCH] Update Cart.php --- src/Cart.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Cart.php b/src/Cart.php index 8c2023e..61491fd 100644 --- a/src/Cart.php +++ b/src/Cart.php @@ -645,8 +645,7 @@ class Cart return; } - $this->getConnection()->table($this->getTableName()) - ->where('identifier', $identifier)->delete(); + $this->getConnection()->table($this->getTableName())->where('identifier', $identifier)->delete(); $this->events->dispatch('cart.erased'); }