Skip to content

Commit 0fc868c

Browse files
committed
Fix static tests.
1 parent 48e9086 commit 0fc868c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

app/code/Magento/Quote/Model/Quote/Item/ToOrderItem.php

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ public function __construct(
4848
}
4949

5050
/**
51+
* Convert quote item(quote address item) into order item.
52+
*
5153
* @param Item|AddressItem $item
5254
* @param array $data
5355
* @return OrderItemInterface
@@ -66,13 +68,13 @@ public function convert($item, $data = [])
6668
if ($item instanceof \Magento\Quote\Model\Quote\Address\Item) {
6769
$orderItemData = array_merge(
6870
$orderItemData,
69-
$this->objectCopyService->getDataFromFieldset(
70-
'quote_convert_address_item',
71-
'to_order_item',
72-
$item
73-
)
74-
);
75-
}
71+
$this->objectCopyService->getDataFromFieldset(
72+
'quote_convert_address_item',
73+
'to_order_item',
74+
$item
75+
)
76+
);
77+
}
7678
if (!$item->getNoDiscount()) {
7779
$data = array_merge(
7880
$data,

0 commit comments

Comments
 (0)