Skip to content

Commit faced71

Browse files
author
Leonid Poluianov
committed
MC-32201: Reorder functionality
1 parent bcd7893 commit faced71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,8 +947,8 @@ public function assignCustomerWithAddressChange(
947947
} else {
948948
try {
949949
$defaultBillingAddress = $this->addressRepository->getById($customer->getDefaultBilling());
950+
// phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
950951
} catch (\Magento\Framework\Exception\NoSuchEntityException $e) {
951-
// phpcs:ignore Magento2.CodeAnalysis.EmptyStatement
952952
}
953953
if (isset($defaultBillingAddress)) {
954954
/** @var \Magento\Quote\Model\Quote\Address $billingAddress */
@@ -961,8 +961,8 @@ public function assignCustomerWithAddressChange(
961961
if (null === $shippingAddress) {
962962
try {
963963
$defaultShippingAddress = $this->addressRepository->getById($customer->getDefaultShipping());
964+
// phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
964965
} catch (\Magento\Framework\Exception\NoSuchEntityException $e) {
965-
// phpcs:ignore Magento2.CodeAnalysis.EmptyStatement
966966
}
967967
if (isset($defaultShippingAddress)) {
968968
/** @var \Magento\Quote\Model\Quote\Address $shippingAddress */

0 commit comments

Comments
 (0)