bugfix OrderStatusUpdateRequest shipments default value empty array

This commit is contained in:
OpenXE 2024-09-15 16:32:38 +02:00
parent ffaca2a7f3
commit 24f6623016

View File

@ -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;
}
}
}