Completed
Push — master ( 71997f...2bccb6 )
by Lars
03:27
created
src/voku/helper/EmailCheck.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -727,7 +727,7 @@  discard block
 block discarded – undo
727 727
       $localFirst = $punycode->encode($localFirst);
728 728
       $domain = $punycode->encode($domain);
729 729
 
730
-      $email = $localFirst . $localSecond . '@' . $domain . $parts[4];
730
+      $email = $localFirst.$localSecond.'@'.$domain.$parts[4];
731 731
 
732 732
       if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
733 733
         return false;
@@ -819,7 +819,7 @@  discard block
 block discarded – undo
819 819
   public static function isDnsError($domain)
820 820
   {
821 821
     if (function_exists('checkdnsrr')) {
822
-      return !checkdnsrr($domain . '.', 'MX') || !checkdnsrr($domain, 'A');
822
+      return !checkdnsrr($domain.'.', 'MX') || !checkdnsrr($domain, 'A');
823 823
     } else {
824 824
       return null;
825 825
     }
Please login to merge, or discard this patch.