fix coding standard to comply with fabbot

This commit is contained in:
apetitpa 2017-03-23 12:37:06 +01:00 committed by Fabien Potencier
parent 197d19f34c
commit 60392fdd43
1 changed files with 2 additions and 2 deletions

View File

@ -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'));
}
}