Completed
Push — master ( c8ace5...4714ba )
by Alex
03:55 queued 01:45
created
src/Extension/RequestExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,11 +43,11 @@  discard block
 block discarded – undo
43 43
             $host .= ':' . $uri->getPort();
44 44
         }
45 45
 
46
-        if (! $this->hasLeadingSlash($path)) {
46
+        if (!$this->hasLeadingSlash($path)) {
47 47
             $path = rtrim($uri->getPath(), '/') . '/' . $path;
48 48
         }
49 49
 
50
-        return $uri->getScheme() . '://' . $host.$path;
50
+        return $uri->getScheme() . '://' . $host . $path;
51 51
     }
52 52
 
53 53
     /**
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     public function generateRelativeUrl($path)
58 58
     {
59 59
         if ($this->isNetworkPath($path)
60
-            || ! $this->hasLeadingSlash($path)
60
+            || !$this->hasLeadingSlash($path)
61 61
         ) {
62 62
             return $path;
63 63
         }
Please login to merge, or discard this patch.