From 027d223174778e0fa8cb821f69ba8ca97ab01a17 Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 18 Jan 2022 00:13:27 +0100 Subject: [PATCH] Update Cart.php --- src/Cart.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cart.php b/src/Cart.php index 08e7dde..17f2487 100644 --- a/src/Cart.php +++ b/src/Cart.php @@ -84,11 +84,11 @@ class Cart /** * Set the current cart instance. * - * @param string|null $instance + * @param string|InstanceIdentifier|null $instance * * @return \Gloudemans\Shoppingcart\Cart */ - public function instance(?string $instance = null) + public function instance($instance = null) { $instance = $instance ?: self::DEFAULT_INSTANCE;