Passed
Push — master ( d98100...8f2f8a )
by Sebastian
03:10
created
src/URLInfo/Parser/URLTypeDetector/DetectEmail.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,13 +22,13 @@
 block discarded – undo
22 22
 {
23 23
     public function detect() : bool
24 24
     {
25
-        if($this->getScheme() === 'mailto') {
25
+        if ($this->getScheme() === 'mailto') {
26 26
             $this->setHostFromEmail((string)$this->getPath());
27 27
             $this->setTypeEmail();
28 28
             return true;
29 29
         }
30 30
 
31
-        if($this->hasPath() && preg_match(RegexHelper::REGEX_EMAIL, $this->getPath()))
31
+        if ($this->hasPath() && preg_match(RegexHelper::REGEX_EMAIL, $this->getPath()))
32 32
         {
33 33
             $this->setHostFromEmail($this->getPath());
34 34
             $this->setSchemeMailto();
Please login to merge, or discard this patch.