@@ -44,14 +44,14 @@ discard block |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | if (null !== $uri->getPort()) { |
47 | - $host .= ':' . $uri->getPort(); |
|
47 | + $host .= ':'.$uri->getPort(); |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | if (!$this->hasLeadingSlash($path)) { |
51 | - $path = rtrim($uri->getPath(), '/') . '/' . $path; |
|
51 | + $path = rtrim($uri->getPath(), '/').'/'.$path; |
|
52 | 52 | } |
53 | 53 | |
54 | - return $uri->getScheme() . '://' . $host . $path; |
|
54 | + return $uri->getScheme().'://'.$host.$path; |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
@@ -83,14 +83,14 @@ discard block |
||
83 | 83 | } |
84 | 84 | } |
85 | 85 | |
86 | - $path = str_repeat('../', count($baseParts)) . implode('/', $pathParts); |
|
86 | + $path = str_repeat('../', count($baseParts)).implode('/', $pathParts); |
|
87 | 87 | |
88 | 88 | if (empty($path)) { |
89 | 89 | return './'; |
90 | 90 | } |
91 | 91 | |
92 | 92 | if (empty($baseParts) && false !== strpos(current($pathParts), ':')) { |
93 | - $path = './' . $path; |
|
93 | + $path = './'.$path; |
|
94 | 94 | } |
95 | 95 | |
96 | 96 | return $path; |