Completed
Push — master ( 48babe...400199 )
by Lars
03:07
created
src/voku/helper/EmailCheck.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -807,10 +807,10 @@  discard block
 block discarded – undo
807 807
       }
808 808
 
809 809
       if ($quoteHelperForIdn === true) {
810
-        $local = '"' . $local . '"';
810
+        $local = '"'.$local.'"';
811 811
       }
812 812
 
813
-      $email = $local . '@' . $domain;
813
+      $email = $local.'@'.$domain;
814 814
 
815 815
       if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
816 816
         return false;
@@ -900,7 +900,7 @@  discard block
 block discarded – undo
900 900
   public static function isDnsError($domain)
901 901
   {
902 902
     if (function_exists('checkdnsrr')) {
903
-      return !checkdnsrr($domain . '.', 'MX') || !checkdnsrr($domain, 'A');
903
+      return !checkdnsrr($domain.'.', 'MX') || !checkdnsrr($domain, 'A');
904 904
     } else {
905 905
       throw new \Exception(' Can\'t call checkdnsrr');
906 906
     }
Please login to merge, or discard this patch.