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

View File

@ -141,7 +141,7 @@ class EmailValidator extends ConstraintValidator
if ('' === $host) { if ('' === $host) {
return false; return false;
} }
return checkdnsrr($host, 'MX'); return checkdnsrr($host, 'MX');
} }
@ -157,7 +157,7 @@ class EmailValidator extends ConstraintValidator
if ('' === $host) { if ('' === $host) {
return false; return false;
} }
return $this->checkMX($host) || (checkdnsrr($host, 'A') || checkdnsrr($host, 'AAAA')); return $this->checkMX($host) || (checkdnsrr($host, 'A') || checkdnsrr($host, 'AAAA'));
} }
} }