@@ -266,9 +266,9 @@ discard block |
||
266 | 266 | public function getUrl($path) |
267 | 267 | { |
268 | 268 | $segments = $this->parseUrl($path); |
269 | - $query = empty($segments['query']) ? '' : '?' . $segments['query']; |
|
269 | + $query = empty($segments['query']) ? '' : '?'.$segments['query']; |
|
270 | 270 | |
271 | - return $this->normalizeHost($this->domain) . ltrim(implode('/', array_map('rawurlencode', explode('/', $segments['path']))), '/') . $query; |
|
271 | + return $this->normalizeHost($this->domain).ltrim(implode('/', array_map('rawurlencode', explode('/', $segments['path']))), '/').$query; |
|
272 | 272 | } |
273 | 273 | |
274 | 274 | /** |
@@ -561,7 +561,7 @@ discard block |
||
561 | 561 | $domain = "http://{$domain}"; |
562 | 562 | } |
563 | 563 | |
564 | - return rtrim($domain, '/') . '/'; |
|
564 | + return rtrim($domain, '/').'/'; |
|
565 | 565 | } |
566 | 566 | |
567 | 567 | /** |