Skip to content

Commit dcb59d3

Browse files
committed
#26682 Disallow setting extension attributes as data array
PHP CS Fix
1 parent ea70c0b commit dcb59d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ private function getShippingMethods(Quote $quote, $address)
313313
$extractedAddressData = $this->extractAddressData($address);
314314
if (array_key_exists('extension_attributes', $extractedAddressData)) {
315315
unset($extractedAddressData['extension_attributes']);
316-
}
316+
}
317317
$shippingAddress->addData($extractedAddressData);
318318

319319
$shippingAddress->setCollectShippingRates(true);

0 commit comments

Comments
 (0)