mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
chore: remove isValidNumber check
This commit is contained in:
parent
8fb772340f
commit
ca0459046d
1 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue