@@ -106,7 +106,7 @@ |
||
106 | 106 | */ |
107 | 107 | public function getLink() |
108 | 108 | { |
109 | - return $this->getName() . '/index.html'; |
|
109 | + return $this->getName().'/index.html'; |
|
110 | 110 | } |
111 | 111 | |
112 | 112 | /** |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | */ |
58 | 58 | public function getDestination($basePath) |
59 | 59 | { |
60 | - return $this->getDir($basePath) . basename($this->name, '.php').'.html'; |
|
60 | + return $this->getDir($basePath).basename($this->name, '.php').'.html'; |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | public function getDirectory($basePath) |
68 | 68 | { |
69 | 69 | $dirname = dirname(str_replace($basePath, '', $this->name)); |
70 | - return ($dirname === '.' ? '' : $dirname . '/'); |
|
70 | + return ($dirname === '.' ? '' : $dirname.'/'); |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | $pathCollection[] = $file->getName(); |
71 | 71 | } |
72 | 72 | |
73 | - return $this->getCommonPath($pathCollection) . '/'; |
|
73 | + return $this->getCommonPath($pathCollection).'/'; |
|
74 | 74 | } |
75 | 75 | |
76 | 76 | /** |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | $common = '/'; |
87 | 87 | |
88 | 88 | while (($index = strpos($paths[0], '/', $lastOffset)) !== false) { |
89 | - $dirLen = $index - $lastOffset + 1; // include / |
|
89 | + $dirLen = $index - $lastOffset + 1; // include / |
|
90 | 90 | $dir = substr($paths[0], $lastOffset, $dirLen); |
91 | 91 | |
92 | 92 | foreach ($paths as $path) { |