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