From c67d72d65c45ec610e89c7fa175221d3c547b830 Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 17 Jan 2022 23:47:34 +0100 Subject: [PATCH] Update CartItem.php --- src/CartItem.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CartItem.php b/src/CartItem.php index 5ae82e3..c231cce 100644 --- a/src/CartItem.php +++ b/src/CartItem.php @@ -513,9 +513,9 @@ class CartItem implements Arrayable, Jsonable * * @return string */ - public function toJson(int $flags = 0) + public function toJson($options = 0) { - return json_encode($this->toArray(), $flags); + return json_encode($this->toArray(), $options); } /**