Skip to content

Commit 472592b

Browse files
ENGCOM-6193: Fixed Typo: Changed Function name checkRequredFields to checkRequiredFields #25273
2 parents 8c0c51f + 0581d07 commit 472592b

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(
4141
public function validate(AbstractAddress $address)
4242
{
4343
$errors = array_merge(
44-
$this->checkRequredFields($address),
44+
$this->checkRequiredFields($address),
4545
$this->checkOptionalFields($address)
4646
);
4747

@@ -55,7 +55,7 @@ public function validate(AbstractAddress $address)
5555
* @return array
5656
* @throws \Zend_Validate_Exception
5757
*/
58-
private function checkRequredFields(AbstractAddress $address)
58+
private function checkRequiredFields(AbstractAddress $address)
5959
{
6060
$errors = [];
6161
if (!\Zend_Validate::is($address->getFirstname(), 'NotEmpty')) {

0 commit comments

Comments
 (0)