From 5a05b3e157d5244a7a7984cec17b105c6c043265 Mon Sep 17 00:00:00 2001 From: komalkumariint <118442450+komalkumariint@users.noreply.github.com> Date: Tue, 4 Apr 2023 20:09:41 +0530 Subject: [PATCH 1/3] commit change --- src/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cart.php b/src/Cart.php index 09853dba..9faba735 100644 --- a/src/Cart.php +++ b/src/Cart.php @@ -84,7 +84,7 @@ public function currentInstance() * @param int|float $qty * @param float $price * @param array $options - * @return \Gloudemans\Shoppingcart\CartItem + * @return \Gloudemans\Shoppingcart\CartItem // done by komal */ public function add($id, $name = null, $qty = null, $price = null, array $options = []) { From 96afae674841402f00baa6aade96a6424935e807 Mon Sep 17 00:00:00 2001 From: komalkumariint <118442450+komalkumariint@users.noreply.github.com> Date: Tue, 4 Apr 2023 20:15:18 +0530 Subject: [PATCH 2/3] Update Cart.php --- src/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cart.php b/src/Cart.php index 9faba735..f3a78ef2 100644 --- a/src/Cart.php +++ b/src/Cart.php @@ -175,7 +175,7 @@ public function remove($rowId) } /** - * Get a cart item from the cart by its rowId. + * Get a cart item from the cart by its rowId. // not done by komal. * * @param string $rowId * @return \Gloudemans\Shoppingcart\CartItem From 1d70afd1126b8411a666766d9d810839d1ef3a49 Mon Sep 17 00:00:00 2001 From: komalkumariint <118442450+komalkumariint@users.noreply.github.com> Date: Tue, 4 Apr 2023 20:22:13 +0530 Subject: [PATCH 3/3] Update CartItemOptions.php --- src/CartItemOptions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CartItemOptions.php b/src/CartItemOptions.php index bbd24e9c..1a0e5718 100644 --- a/src/CartItemOptions.php +++ b/src/CartItemOptions.php @@ -10,10 +10,10 @@ class CartItemOptions extends Collection * Get the option by the given key. * * @param string $key - * @return mixed + * @return mixed //// hey ....... */ public function __get($key) { return $this->get($key); } -} \ No newline at end of file +}