From e59ab3cc0a9e37a5180768a238f7b8e9e63ae0de Mon Sep 17 00:00:00 2001 From: Edie Lemoine Date: Wed, 20 Sep 2023 14:14:32 +0200 Subject: [PATCH] fix(orders): prevent order id type error --- src/Service/PsOrderService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/PsOrderService.php b/src/Service/PsOrderService.php index dba1cab3..b5f43d0f 100644 --- a/src/Service/PsOrderService.php +++ b/src/Service/PsOrderService.php @@ -131,6 +131,6 @@ private function getOrderId($orderOrId): string return (string) $orderOrId->id; } - return $orderOrId; + return (string) $orderOrId; } }