File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
app/code/Magento/Sales/Model/Service
dev/tests/integration/testsuite/Magento/Sales/Model/Service Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -182,8 +182,7 @@ public function prepareInvoice(
182
182
}
183
183
184
184
/**
185
- * Prepare qty to invoice for parent and child products
186
- * if theirs qty is not specified in initial request.
185
+ * Prepare qty to invoice for parent and child products if theirs qty is not specified in initial request.
187
186
*
188
187
* @param Order $order
189
188
* @param array $orderItemsQtyToInvoice
@@ -200,7 +199,8 @@ private function prepareItemsQty(
200
199
}
201
200
} else {
202
201
if (isset ($ orderItemsQtyToInvoice [$ orderItem ->getParentItemId ()])) {
203
- $ orderItemsQtyToInvoice [$ orderItem ->getId ()] = $ orderItemsQtyToInvoice [$ orderItem ->getParentItemId ()];
202
+ $ orderItemsQtyToInvoice [$ orderItem ->getId ()] =
203
+ $ orderItemsQtyToInvoice [$ orderItem ->getParentItemId ()];
204
204
}
205
205
}
206
206
}
Original file line number Diff line number Diff line change @@ -105,8 +105,7 @@ public function testPrepareInvoiceBundleProduct(
105
105
array $ qtyToInvoice ,
106
106
array $ qtyInvoiced ,
107
107
string $ errorMsg
108
- ): void
109
- {
108
+ ): void {
110
109
/** @var Order $order */
111
110
$ order = Bootstrap::getObjectManager ()->create (Order::class)
112
111
->load ('100000001 ' , 'increment_id ' );
You can’t perform that action at this time.
0 commit comments