Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 280d342

Browse files
author
Eric Bohanon
committed
MAGETWO-72747: [Magento Cloud] - /rest/default/V1/order/<order id>/ship and configurable products - for 2.2
1 parent 793381e commit 280d342

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/Sales/Model/Order/ShipmentDocumentFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function create(
111111
* Translate OrderItemInterface array to product id => product quantity array.
112112
*
113113
* @param OrderItemInterface[] $items
114-
* @return array
114+
* @return int[]
115115
*/
116116
private function getQuantitiesFromOrderItems(array $items)
117117
{
@@ -128,7 +128,7 @@ private function getQuantitiesFromOrderItems(array $items)
128128
* Translate ShipmentItemCreationInterface array to product id => product quantity array.
129129
*
130130
* @param ShipmentItemCreationInterface[] $items
131-
* @return array
131+
* @return int[]
132132
*/
133133
private function getQuantitiesFromShipmentItems(array $items)
134134
{

app/code/Magento/Shipping/Controller/Adminhtml/Order/ShipmentLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ private function getTrackingArray()
191191
* Extract product id => product quantity array from shipment data.
192192
*
193193
* @param array $shipmentData
194-
* @return array
194+
* @return int[]
195195
*/
196196
private function getShipmentItems(array $shipmentData)
197197
{

0 commit comments

Comments
 (0)