|
32 | 32 | use Magento\Quote\Api\Data\PaymentInterface;
|
33 | 33 | use Magento\Quote\Model\Quote\Address\ToOrder as ToOrderConverter;
|
34 | 34 | use Magento\Quote\Model\Quote\Address\ToOrderAddress as ToOrderAddressConverter;
|
35 |
| -use Magento\Quote\Model\Quote\AddressFactory; |
36 | 35 | use Magento\Quote\Model\Quote as QuoteEntity;
|
| 36 | +use Magento\Quote\Model\Quote\AddressFactory; |
37 | 37 | use Magento\Quote\Model\Quote\Item\ToOrderItem as ToOrderItemConverter;
|
38 | 38 | use Magento\Quote\Model\Quote\Payment\ToOrderPayment as ToOrderPaymentConverter;
|
39 | 39 | use Magento\Quote\Model\ResourceModel\Quote\Item;
|
@@ -324,7 +324,7 @@ public function assignCustomer($cartId, $customerId, $storeId)
|
324 | 324 | $customerActiveQuote->setIsActive(0);
|
325 | 325 | $this->quoteRepository->save($customerActiveQuote);
|
326 | 326 |
|
327 |
| - // phpcs:ignore Magento2.CodeAnalysis.EmptyBlock |
| 327 | + // phpcs:ignore Magento2.CodeAnalysis.EmptyBlock |
328 | 328 | } catch (NoSuchEntityException $e) {
|
329 | 329 | }
|
330 | 330 |
|
@@ -645,7 +645,7 @@ protected function _prepareCustomerQuote($quote)
|
645 | 645 | if ($defaultShipping) {
|
646 | 646 | try {
|
647 | 647 | $shippingAddress = $this->addressRepository->getById($defaultShipping);
|
648 |
| - // phpcs:ignore Magento2.CodeAnalysis.EmptyBlock |
| 648 | + // phpcs:ignore Magento2.CodeAnalysis.EmptyBlock |
649 | 649 | } catch (LocalizedException $e) {
|
650 | 650 | // no address
|
651 | 651 | }
|
@@ -679,7 +679,7 @@ protected function _prepareCustomerQuote($quote)
|
679 | 679 | if ($defaultBilling) {
|
680 | 680 | try {
|
681 | 681 | $billingAddress = $this->addressRepository->getById($defaultBilling);
|
682 |
| - // phpcs:ignore Magento2.CodeAnalysis.EmptyBlock |
| 682 | + // phpcs:ignore Magento2.CodeAnalysis.EmptyBlock |
683 | 683 | } catch (LocalizedException $e) {
|
684 | 684 | // no address
|
685 | 685 | }
|
|
0 commit comments