Skip to content

Commit 25e347f

Browse files
authored
Merge pull request #368 from sdunayer/Fix-deprecated-warning-in-php-8.2+
Fix "deprecated" warning in php 8.2+ (incorrect variable name)
2 parents 35825fa + 5170839 commit 25e347f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Darryldecode/Cart/Cart.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function __construct($session, $events, $instanceName, $session_key, $con
8787
$this->sessionKeyCartItems = $this->sessionKey . '_cart_items';
8888
$this->sessionKeyCartConditions = $this->sessionKey . '_cart_conditions';
8989
$this->config = $config;
90-
$this->currentItem = null;
90+
$this->currentItemId = null;
9191
$this->fireEvent('created');
9292
}
9393

0 commit comments

Comments
 (0)