Completed
Pull Request — master (#16)
by
unknown
13:48
created
src/voku/helper/EmailCheck.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,12 +47,12 @@  discard block
 block discarded – undo
47 47
     {
48 48
         if (\function_exists('checkdnsrr')) {
49 49
             /** @noinspection IfReturnReturnSimplificationInspection */
50
-            $mxFound = \checkdnsrr($domain . '.', 'MX');
50
+            $mxFound = \checkdnsrr($domain.'.', 'MX');
51 51
             if ($mxFound === true) {
52 52
                 return false;
53 53
             }
54 54
 
55
-            $aFound = \checkdnsrr($domain . '.', 'A');
55
+            $aFound = \checkdnsrr($domain.'.', 'A');
56 56
             /** @noinspection IfReturnReturnSimplificationInspection */
57 57
             if ($aFound === true) {
58 58
                 return false;
@@ -247,10 +247,10 @@  discard block
 block discarded – undo
247 247
         }
248 248
 
249 249
         if ($quoteHelperForIdn === true) {
250
-            $local = '"' . $local . '"';
250
+            $local = '"'.$local.'"';
251 251
         }
252 252
 
253
-        $email = $local . '@' . $domain;
253
+        $email = $local.'@'.$domain;
254 254
 
255 255
         if (!\filter_var($email, \FILTER_VALIDATE_EMAIL)) {
256 256
             return false;
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
      */
285 285
     protected static function getData(string $file)
286 286
     {
287
-        $file = __DIR__ . '/data/' . $file . '.php';
287
+        $file = __DIR__.'/data/'.$file.'.php';
288 288
         if (\file_exists($file)) {
289 289
             /** @noinspection PhpIncludeInspection */
290 290
             return require $file;
Please login to merge, or discard this patch.