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.
2 parents 8c0c51f + 0581d07 commit 472592bCopy full SHA for 472592b
app/code/Magento/Customer/Model/Address/Validator/General.php
@@ -41,7 +41,7 @@ public function __construct(
41
public function validate(AbstractAddress $address)
42
{
43
$errors = array_merge(
44
- $this->checkRequredFields($address),
+ $this->checkRequiredFields($address),
45
$this->checkOptionalFields($address)
46
);
47
@@ -55,7 +55,7 @@ public function validate(AbstractAddress $address)
55
* @return array
56
* @throws \Zend_Validate_Exception
57
*/
58
- private function checkRequredFields(AbstractAddress $address)
+ private function checkRequiredFields(AbstractAddress $address)
59
60
$errors = [];
61
if (!\Zend_Validate::is($address->getFirstname(), 'NotEmpty')) {
0 commit comments