We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d63a584 commit dafcb2dCopy full SHA for dafcb2d
app/code/Magento/Customer/Model/AttributeMetadataConverter.php
@@ -87,7 +87,7 @@ public function createMetadataAttribute($attribute)
87
}
88
89
$validationRules = [];
90
- foreach ((array)$attribute->getValidateRules() as $name => $value) {
+ foreach ($attribute->getValidateRules() as $name => $value) {
91
$validationRule = $this->validationRuleFactory->create()
92
->setName($name)
93
->setValue($value);
0 commit comments