Skip to content

Commit 1ecdd07

Browse files
author
Ievgen Shakhsuvarov
committed
MAGETWO-37037: Customers information leak via checkout
- Static tests fix
1 parent 5186a84 commit 1ecdd07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function validate(\Magento\Quote\Api\Data\AddressInterface $addressData)
8585
}
8686

8787
if ($addressData->getCustomerAddressId()) {
88-
$applicableAddressIds = array_map(function($address) {
88+
$applicableAddressIds = array_map(function ($address) {
8989
/** @var \Magento\Customer\Api\Data\AddressInterface $address */
9090
return $address->getId();
9191
}, $this->customerSession->getCustomerDataObject()->getAddresses());

0 commit comments

Comments
 (0)