mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-15 03:28:41 +00:00
Use global namespace
This commit is contained in:
parent
ee018f124f
commit
9a220a85a7
|
|
@ -42,7 +42,7 @@ abstract class Email extends ValidatorAbstract
|
|||
*/
|
||||
public static function isValid($value, array $constraints = null) : bool
|
||||
{
|
||||
if (filter_var($value, FILTER_VALIDATE_EMAIL) === false) {
|
||||
if (\filter_var($value, FILTER_VALIDATE_EMAIL) === false) {
|
||||
self::$msg = 'Invalid Email by filter_var standards';
|
||||
self::$error = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user