Completed
Push — master ( 9f10b5...c8ace5 )
by Alex
02:13
created
src/Extension/RequestExtension.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,14 +39,14 @@
 block discarded – undo
39 39
         }
40 40
 
41 41
         if (null !== $uri->getPort()) {
42
-            $host .= ':'.$uri->getPort();
42
+            $host .= ':' . $uri->getPort();
43 43
         }
44 44
 
45
-        if (! $this->hasLeadingSlash($path)) {
46
-            $path = rtrim($uri->getPath(), '/').'/'.$path;
45
+        if (!$this->hasLeadingSlash($path)) {
46
+            $path = rtrim($uri->getPath(), '/') . '/' . $path;
47 47
         }
48 48
 
49
-        return $uri->getScheme().'://'.$host.$path;
49
+        return $uri->getScheme() . '://' . $host . $path;
50 50
     }
51 51
 
52 52
     /**
Please login to merge, or discard this patch.