@@ -176,8 +176,6 @@ class Multishipping extends \Magento\Framework\DataObject
176
176
private $ dataObjectHelper ;
177
177
178
178
/**
179
- * Constructor
180
- *
181
179
* @param \Magento\Checkout\Model\Session $checkoutSession
182
180
* @param \Magento\Customer\Model\Session $customerSession
183
181
* @param \Magento\Sales\Model\OrderFactory $orderFactory
@@ -202,8 +200,9 @@ class Multishipping extends \Magento\Framework\DataObject
202
200
* @param array $data
203
201
* @param \Magento\Quote\Api\Data\CartExtensionFactory|null $cartExtensionFactory
204
202
* @param AllowedCountries|null $allowedCountryReader
205
- * @param Multishipping\PlaceOrderFactory $placeOrderFactory
206
- * @param LoggerInterface $logger
203
+ * @param Multishipping\PlaceOrderFactory|null $placeOrderFactory
204
+ * @param LoggerInterface|null $logger
205
+ * @param \Magento\Framework\Api\DataObjectHelper|null $dataObjectHelper
207
206
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
208
207
*/
209
208
public function __construct (
@@ -272,6 +271,7 @@ public function __construct(
272
271
273
272
/**
274
273
* Initialize multishipping checkout.
274
+ *
275
275
* Split virtual/not virtual items between default billing/shipping addresses
276
276
*
277
277
* @return \Magento\Multishipping\Model\Checkout\Type\Multishipping
@@ -337,6 +337,7 @@ protected function _init()
337
337
338
338
/**
339
339
* Get quote items assigned to different quote addresses populated per item qty.
340
+ *
340
341
* Based on result array we can display each item separately
341
342
*
342
343
* @return array
@@ -397,7 +398,7 @@ public function removeAddressItem($addressId, $itemId)
397
398
/**
398
399
* Assign quote items to addresses and specify items qty
399
400
*
400
- * array structure:
401
+ * Array structure:
401
402
* array(
402
403
* $quoteItemId => array(
403
404
* 'qty' => $qty,
@@ -928,6 +929,8 @@ public function getMinimumAmountDescription()
928
929
}
929
930
930
931
/**
932
+ * Get minimum amount error.
933
+ *
931
934
* @return string
932
935
*/
933
936
public function getMinimumAmountError ()
@@ -1072,7 +1075,7 @@ public function getCustomer()
1072
1075
/**
1073
1076
* Check if specified address ID belongs to customer.
1074
1077
*
1075
- * @param $addressId
1078
+ * @param mixed $addressId
1076
1079
* @return bool
1077
1080
*/
1078
1081
protected function isAddressIdApplicable ($ addressId )
@@ -1085,6 +1088,8 @@ protected function isAddressIdApplicable($addressId)
1085
1088
}
1086
1089
1087
1090
/**
1091
+ * Prepare shipping assignment.
1092
+ *
1088
1093
* @param \Magento\Quote\Model\Quote $quote
1089
1094
* @return \Magento\Quote\Model\Quote
1090
1095
*/
@@ -1105,6 +1110,8 @@ private function prepareShippingAssignment($quote)
1105
1110
}
1106
1111
1107
1112
/**
1113
+ * Get shipping assignment processor.
1114
+ *
1108
1115
* @return \Magento\Quote\Model\Quote\ShippingAssignment\ShippingAssignmentProcessor
1109
1116
*/
1110
1117
private function getShippingAssignmentProcessor ()
@@ -1187,10 +1194,11 @@ private function searchQuoteAddressId(OrderInterface $order, array $addresses):
1187
1194
}
1188
1195
1189
1196
/**
1197
+ * Get quote address errors.
1198
+ *
1190
1199
* @param OrderInterface[] $orders
1191
1200
* @param \Magento\Quote\Model\Quote\Address[] $addresses
1192
1201
* @param \Exception[] $exceptionList
1193
- *
1194
1202
* @return string[]
1195
1203
* @throws NotFoundException
1196
1204
*/
0 commit comments