feat: add update and verification method for account and users

This commit is contained in:
Torsten Dittmann committed 2022-06-08 14:50:31 +02:00
1 parent 8ce669da6f
commit dc25883685
8 files changed
+607 -148

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ class Phone extends Validator
*/
public function isValid($value): bool
{
return !!\preg_match('/^\+[1-9]\d{1,14}$/', $value);
return is_string($value) && !!\preg_match('/^\+[1-9]\d{1,14}$/', $value);
}
/**