Skip to content

Commit 5cdea8e

Browse files
committed
ACP2E-4344: Error Invalid date when updating account information
1 parent 9a2c223 commit 5cdea8e

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/Customer/Block/Widget

1 file changed

+3
-3
lines changed

app/code/Magento/Customer/Block/Widget/Dob.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,10 +471,10 @@ private function setTwoMonthPlaces(string $format): string
471471
*
472472
* Converts localized date format (with potentially localized numerals like Arabic) to standard numerals
473473
*
474-
* @param bool|string|null $value
475-
* @return bool|string
474+
* @param mixed $value
475+
* @return mixed
476476
*/
477-
private function normalizedDobOutput(bool|string|null $value): bool|string
477+
private function normalizedDobOutput(mixed $value): mixed
478478
{
479479
if (empty($value)) {
480480
return $value;

0 commit comments

Comments
 (0)