@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | { |
| 41 | 41 | $path = $source; |
| 42 | 42 | if (Path::isRelativePath($source)) { |
| 43 | - $path = $relative . '/' . $path; |
|
| 43 | + $path = $relative.'/'.$path; |
|
| 44 | 44 | } |
| 45 | 45 | return Path::toAbsolutePath($path); |
| 46 | 46 | } |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | { |
| 96 | 96 | foreach ($this->resource as $root) { |
| 97 | 97 | $target = $this->getTarget($root, $path); |
| 98 | - $templateLimitPath = $limitPath ? $root . '/' . $limitPath : $root; |
|
| 98 | + $templateLimitPath = $limitPath ? $root.'/'.$limitPath : $root; |
|
| 99 | 99 | if (is_string($target) |
| 100 | 100 | && FileSystem::exist($target) |
| 101 | 101 | && FileSystem::isOverflowPath($templateLimitPath, $target) === false) { |
@@ -114,11 +114,11 @@ discard block |
||
| 114 | 114 | private function getTarget($root, string $path) |
| 115 | 115 | { |
| 116 | 116 | if (is_string($root)) { |
| 117 | - return $root . '/' . $path; |
|
| 117 | + return $root.'/'.$path; |
|
| 118 | 118 | } |
| 119 | 119 | list($prefix, $root) = $root; |
| 120 | 120 | if (strpos($path, $prefix) === 0) { |
| 121 | - return $root . '/' . ltrim(substr($path, strlen($prefix)), '/'); |
|
| 121 | + return $root.'/'.ltrim(substr($path, strlen($prefix)), '/'); |
|
| 122 | 122 | } |
| 123 | 123 | return null; |
| 124 | 124 | } |