diff --git a/src/Validator/DateTime.php b/src/Validator/DateTime.php index fd453efa..10cab250 100644 --- a/src/Validator/DateTime.php +++ b/src/Validator/DateTime.php @@ -272,7 +272,7 @@ public function isValid($value) } $position = 0; - $parsedDate = $formatter->parse($value, $position); + $formatter->parse($value, $position); if (intl_is_failure($formatter->getErrorCode())) { $this->error(self::INVALID_DATETIME);