@@ -142,7 +142,7 @@ discard block |
||
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 |
||
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 |
||
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; |