Skip to content

Commit c97b864

Browse files
committed
ACP2E-894: revert changes
1 parent 62aabd7 commit c97b864

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/Quote/Model/QuoteManagement.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
use Magento\Quote\Api\Data\PaymentInterface;
3333
use Magento\Quote\Model\Quote\Address\ToOrder as ToOrderConverter;
3434
use Magento\Quote\Model\Quote\Address\ToOrderAddress as ToOrderAddressConverter;
35-
use Magento\Quote\Model\Quote\AddressFactory;
3635
use Magento\Quote\Model\Quote as QuoteEntity;
36+
use Magento\Quote\Model\Quote\AddressFactory;
3737
use Magento\Quote\Model\Quote\Item\ToOrderItem as ToOrderItemConverter;
3838
use Magento\Quote\Model\Quote\Payment\ToOrderPayment as ToOrderPaymentConverter;
3939
use Magento\Quote\Model\ResourceModel\Quote\Item;
@@ -324,7 +324,7 @@ public function assignCustomer($cartId, $customerId, $storeId)
324324
$customerActiveQuote->setIsActive(0);
325325
$this->quoteRepository->save($customerActiveQuote);
326326

327-
// phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
327+
// phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
328328
} catch (NoSuchEntityException $e) {
329329
}
330330

@@ -645,7 +645,7 @@ protected function _prepareCustomerQuote($quote)
645645
if ($defaultShipping) {
646646
try {
647647
$shippingAddress = $this->addressRepository->getById($defaultShipping);
648-
// phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
648+
// phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
649649
} catch (LocalizedException $e) {
650650
// no address
651651
}
@@ -679,7 +679,7 @@ protected function _prepareCustomerQuote($quote)
679679
if ($defaultBilling) {
680680
try {
681681
$billingAddress = $this->addressRepository->getById($defaultBilling);
682-
// phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
682+
// phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
683683
} catch (LocalizedException $e) {
684684
// no address
685685
}

0 commit comments

Comments
 (0)