From 5170839b6c50df6d7706d79d37f810b271d973a1 Mon Sep 17 00:00:00 2001 From: Sid Dunayer <64154450+sdunayer@users.noreply.github.com> Date: Sat, 5 Aug 2023 16:48:49 -0400 Subject: [PATCH] Fix "deprecated" warning in php 8.2+ (incorrect variable name) --- src/Darryldecode/Cart/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Darryldecode/Cart/Cart.php b/src/Darryldecode/Cart/Cart.php index 503dce7..e8bfb35 100644 --- a/src/Darryldecode/Cart/Cart.php +++ b/src/Darryldecode/Cart/Cart.php @@ -87,7 +87,7 @@ public function __construct($session, $events, $instanceName, $session_key, $con $this->sessionKeyCartItems = $this->sessionKey . '_cart_items'; $this->sessionKeyCartConditions = $this->sessionKey . '_cart_conditions'; $this->config = $config; - $this->currentItem = null; + $this->currentItemId = null; $this->fireEvent('created'); }