@@ -11,6 +11,6 @@ |
||
11 | 11 | 'example.org', |
12 | 12 | ); |
13 | 13 | |
14 | -$result =& $data; |
|
14 | +$result = & $data; |
|
15 | 15 | unset($data); |
16 | 16 | return $result; |
@@ -77,6 +77,6 @@ |
||
77 | 77 | 'yahhoo.de', |
78 | 78 | ); |
79 | 79 | |
80 | -$result =& $data; |
|
80 | +$result = & $data; |
|
81 | 81 | unset($data); |
82 | 82 | return $result; |
@@ -2381,6 +2381,6 @@ |
||
2381 | 2381 | 'zzz.com', |
2382 | 2382 | ); |
2383 | 2383 | |
2384 | -$result =& $data; |
|
2384 | +$result = & $data; |
|
2385 | 2385 | unset($data); |
2386 | 2386 | return $result; |
@@ -186,10 +186,10 @@ discard block |
||
186 | 186 | } |
187 | 187 | |
188 | 188 | if ($quoteHelperForIdn === true) { |
189 | - $local = '"' . $local . '"'; |
|
189 | + $local = '"'.$local.'"'; |
|
190 | 190 | } |
191 | 191 | |
192 | - $email = $local . '@' . $domain; |
|
192 | + $email = $local.'@'.$domain; |
|
193 | 193 | |
194 | 194 | if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { |
195 | 195 | return false; |
@@ -283,7 +283,7 @@ discard block |
||
283 | 283 | */ |
284 | 284 | private static function getData($file) |
285 | 285 | { |
286 | - $file = __DIR__ . '/data/' . $file . '.php'; |
|
286 | + $file = __DIR__.'/data/'.$file.'.php'; |
|
287 | 287 | if (file_exists($file)) { |
288 | 288 | /** @noinspection PhpIncludeInspection */ |
289 | 289 | return require $file; |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | public static function isDnsError($domain) |
304 | 304 | { |
305 | 305 | if (function_exists('checkdnsrr')) { |
306 | - return !checkdnsrr($domain . '.', 'MX') || !checkdnsrr($domain, 'A'); |
|
306 | + return !checkdnsrr($domain.'.', 'MX') || !checkdnsrr($domain, 'A'); |
|
307 | 307 | } |
308 | 308 | |
309 | 309 | throw new \Exception(' Can\'t call checkdnsrr'); |