Completed
Push — master ( a1d4cc...333bc3 )
by Neomerx
05:54
created
src/Routing/Router.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     {
143 143
         $this->checkRoutesLoaded();
144 144
 
145
-        list(, , $namedRouteUriPaths) = $this->cachedRoutes;
145
+        list(,, $namedRouteUriPaths) = $this->cachedRoutes;
146 146
 
147 147
         $result = array_key_exists($routeName, $namedRouteUriPaths) === true ? $namedRouteUriPaths[$routeName] : null;
148 148
 
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
         $prefix = $this->getServerUriPrefix($request);
162 162
         $path   = $this->getUriPath($routeName);
163 163
         $path   = $this->replacePlaceholders($path, $placeholders);
164
-        $url    = empty($queryParams) === true ? "$prefix$path" : "$prefix$path?" . http_build_query($queryParams);
164
+        $url    = empty($queryParams) === true ? "$prefix$path" : "$prefix$path?".http_build_query($queryParams);
165 165
 
166 166
         return $url;
167 167
     }
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
                     if (array_key_exists($curPlaceholder, $placeholders) === true) {
223 223
                         $result .= $placeholders[$curPlaceholder];
224 224
                     } else {
225
-                        $result .= '{' . $curPlaceholder . '}';
225
+                        $result .= '{'.$curPlaceholder.'}';
226 226
                     }
227 227
                     $inPlaceholder     = false;
228 228
                     $curPlaceholder    = null;
Please login to merge, or discard this patch.