@@ -43,11 +43,11 @@ discard block |
||
43 | 43 | $host .= ':' . $uri->getPort(); |
44 | 44 | } |
45 | 45 | |
46 | - if (! $this->hasLeadingSlash($path)) { |
|
46 | + if (!$this->hasLeadingSlash($path)) { |
|
47 | 47 | $path = rtrim($uri->getPath(), '/') . '/' . $path; |
48 | 48 | } |
49 | 49 | |
50 | - return $uri->getScheme() . '://' . $host.$path; |
|
50 | + return $uri->getScheme() . '://' . $host . $path; |
|
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | public function generateRelativeUrl($path) |
58 | 58 | { |
59 | 59 | if ($this->isNetworkPath($path) |
60 | - || ! $this->hasLeadingSlash($path) |
|
60 | + || !$this->hasLeadingSlash($path) |
|
61 | 61 | ) { |
62 | 62 | return $path; |
63 | 63 | } |