Skip to content

Commit accd276

Browse files
author
Sergey Shvets
committed
MAGETWO-86239: Customer Address attribute value length is still validated when min/max length fields are not displayed at the backend
1 parent 4b281da commit accd276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/DataProvider/EavValidationRules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function build(AbstractAttribute $attribute, array $data)
4949
* @param array $validations
5050
* @return array
5151
*/
52-
protected function aggregateRules(array $validations): array
52+
private function aggregateRules(array $validations): array
5353
{
5454
$rules = [];
5555
foreach ($validations as $type => $ruleValue) {

0 commit comments

Comments
 (0)