Completed
Push — master ( 1c3045...113bf8 )
by Neomerx
12:22
created
src/Routing/Router.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     {
154 154
         $this->checkRoutesLoaded();
155 155
 
156
-        list(, , $namedRouteUriPaths) = $this->cachedRoutes;
156
+        list(,, $namedRouteUriPaths) = $this->cachedRoutes;
157 157
 
158 158
         $result = array_key_exists($routeName, $namedRouteUriPaths) === true ? $namedRouteUriPaths[$routeName] : null;
159 159
 
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     ): string {
172 172
         $path = $this->getUriPath($routeName);
173 173
         $path = $path === null ? $path : $this->replacePlaceholders($path, $placeholders);
174
-        $url  = empty($queryParams) === true ? "$hostUri$path" : "$hostUri$path?" . http_build_query($queryParams);
174
+        $url  = empty($queryParams) === true ? "$hostUri$path" : "$hostUri$path?".http_build_query($queryParams);
175 175
 
176 176
         return $url;
177 177
     }
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
                     break;
232 232
                 case '}':
233 233
                     $result .= array_key_exists($curPlaceholder, $placeholders) === true ?
234
-                        $placeholders[$curPlaceholder] : '{' . $curPlaceholder . '}';
234
+                        $placeholders[$curPlaceholder] : '{'.$curPlaceholder.'}';
235 235
 
236 236
                     $inPlaceholder     = false;
237 237
                     $curPlaceholder    = null;
Please login to merge, or discard this patch.