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 878f331 commit 00956afCopy full SHA for 00956af
app/code/Magento/Customer/Model/Validator/Dob.php
@@ -41,7 +41,7 @@ public function __construct(StoreManagerInterface $storeManager)
41
* @param Customer $customer
42
* @return bool
43
*/
44
- public function isValid($customer): bool
+ public function isValid($customer)
45
{
46
if (!$this->isValidDob($customer->getDob(), $customer->getStoreId())) {
47
parent::_addMessages([['dob' => 'The Date of Birth should not be greater than today.']]);
0 commit comments