Skip to content

Commit 6bc76e0

Browse files
committed
MAGETWO-91465: Once integer is stored for State/Province field, it can not be changed to alphanumeric
1 parent e0a8abe commit 6bc76e0

File tree

1 file changed

+2
-0
lines changed
  • app/code/Magento/Customer/Model/Address/Validator

1 file changed

+2
-0
lines changed

app/code/Magento/Customer/Model/Address/Validator/Country.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ private function validateCountry(AbstractAddress $address)
8888
*
8989
* @param AbstractAddress $address
9090
* @return array
91+
* @throws \Zend_Validate_Exception
92+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
9193
*/
9294
private function validateRegion(AbstractAddress $address)
9395
{

0 commit comments

Comments
 (0)