Skip to content

Commit 46d01a8

Browse files
authored
Take maximum line limit of 120 chars into account
Fixes integration tests
1 parent a89e84a commit 46d01a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Checkout/Model/ShippingInformationManagement.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ public function saveAddressInformation(
177177

178178
$shippingAddress = $quote->getShippingAddress();
179179

180-
if (!$quote->getIsVirtual() && !$shippingAddress->getShippingRateByCode($shippingAddress->getShippingMethod())) {
180+
if (!$quote->getIsVirtual()
181+
&& !$shippingAddress->getShippingRateByCode($shippingAddress->getShippingMethod())
182+
) {
181183
throw new NoSuchEntityException(
182184
__('Carrier with such method not found: %1, %2', $carrierCode, $methodCode)
183185
);

0 commit comments

Comments
 (0)