Skip to content

Commit 2b27c95

Browse files
committed
MAGETWO-90840: Can't save customer address on adminhtml when country restriction is enabled
1 parent 9799883 commit 2b27c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Model/ResourceModel/AddressRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ private function _validate(CustomerAddressModel $customerAddressModel)
363363
* @param \Magento\Customer\Model\Address $customerAddressModel
364364
* @return array
365365
*/
366-
private function getWebsiteAllowedCountries(\Magento\Customer\Model\Address $customerAddressModel): array
366+
private function getWebsiteAllowedCountries(\Magento\Customer\Model\Address $customerAddressModel)
367367
{
368368
$websiteId = null;
369369

0 commit comments

Comments
 (0)