chore: remove isValidNumber check

This commit is contained in:
Chirag Aggarwal 2025-01-20 08:33:49 +00:00
parent 8fb772340f
commit ca0459046d

View file

@ -52,10 +52,7 @@ class Phone extends Validator
}
try {
$parsedValue = $this->helper->parse($value);
if (!$this->helper->isValidNumber($parsedValue)) {
return false;
}
$this->helper->parse($value);
} catch (NumberParseException $e) {
return false;
}