fix coding standard to comply with fabbot
This commit is contained in:
parent
197d19f34c
commit
60392fdd43
@ -141,7 +141,7 @@ class EmailValidator extends ConstraintValidator
|
||||
if ('' === $host) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
return checkdnsrr($host, 'MX');
|
||||
}
|
||||
|
||||
@ -157,7 +157,7 @@ class EmailValidator extends ConstraintValidator
|
||||
if ('' === $host) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
return $this->checkMX($host) || (checkdnsrr($host, 'A') || checkdnsrr($host, 'AAAA'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user