From 24f6623016d0fed322980820f3d82655ad98763e Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Sun, 15 Sep 2024 16:32:38 +0200 Subject: [PATCH] bugfix OrderStatusUpdateRequest shipments default value empty array --- classes/Modules/Onlineshop/Data/OrderStatusUpdateRequest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Modules/Onlineshop/Data/OrderStatusUpdateRequest.php b/classes/Modules/Onlineshop/Data/OrderStatusUpdateRequest.php index 093dae93..80281628 100644 --- a/classes/Modules/Onlineshop/Data/OrderStatusUpdateRequest.php +++ b/classes/Modules/Onlineshop/Data/OrderStatusUpdateRequest.php @@ -26,7 +26,7 @@ class OrderStatusUpdateRequest /** * @var Shipment[] list of shipments for this order */ - public array $shipments; + public array $shipments = array(); public function getTrackingNumberList() : array { $list = []; @@ -45,4 +45,4 @@ class OrderStatusUpdateRequest } return $list; } -} \ No newline at end of file +}