From 8ac18c175907f00e99064818788475cb43039f1f Mon Sep 17 00:00:00 2001 From: Patrick Henninger Date: Fri, 21 Dec 2018 17:54:51 +0100 Subject: [PATCH] Fixed mistake with InstanceIdentifier --- src/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cart.php b/src/Cart.php index d4280ec..7b58abe 100644 --- a/src/Cart.php +++ b/src/Cart.php @@ -72,7 +72,7 @@ class Cart if ($instance instanceof InstanceIdentifier) { $this->discount = $instance->getInstanceGlobalDiscount(); - $this->instance = $instance->getInstanceIdentifier(); + $instance = $instance->getInstanceIdentifier(); } $this->instance = sprintf('%s.%s', 'cart', $instance);