Completed
Push — master ( 74118e...a43d44 )
by Basil
40s
created
core/web/UrlManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         $length = strlen($composition);
124 124
         $route = $parsedRequest[0];
125 125
         
126
-        if (substr($route, 0, $length+1) == $composition.'/') {
126
+        if (substr($route, 0, $length + 1) == $composition.'/') {
127 127
             $parsedRequest[0] = substr($parsedRequest[0], $length);
128 128
         }
129 129
         
@@ -333,10 +333,10 @@  discard block
 block discarded – undo
333 333
         $params = (array) $params;
334 334
         $url = $this->internalCreateUrl($params, $composition);
335 335
         if (strpos($url, '://') === false) {
336
-            $url = $this->getHostInfo() . $url;
336
+            $url = $this->getHostInfo().$url;
337 337
         }
338 338
         if (is_string($scheme) && ($pos = strpos($url, '://')) !== false) {
339
-            $url = $scheme . substr($url, $pos);
339
+            $url = $scheme.substr($url, $pos);
340 340
         }
341 341
         return $url;
342 342
     }
Please login to merge, or discard this patch.