@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | } |
128 | 128 | |
129 | 129 | /** |
130 | - * @return number |
|
130 | + * @return integer |
|
131 | 131 | */ |
132 | 132 | public function getCountClass() |
133 | 133 | { |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | } |
136 | 136 | |
137 | 137 | /** |
138 | - * @return number |
|
138 | + * @return integer |
|
139 | 139 | */ |
140 | 140 | public function getMethodCoveredCount() |
141 | 141 | { |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | } |
150 | 150 | |
151 | 151 | /** |
152 | - * @return number |
|
152 | + * @return integer |
|
153 | 153 | */ |
154 | 154 | public function getMethodCount() |
155 | 155 | { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | } |
164 | 164 | |
165 | 165 | /** |
166 | - * @return number |
|
166 | + * @return integer |
|
167 | 167 | */ |
168 | 168 | public function getLineCount() |
169 | 169 | { |
@@ -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 | /** |
@@ -139,7 +139,6 @@ |
||
139 | 139 | /** |
140 | 140 | * @param Directory $directory |
141 | 141 | * @param string $target |
142 | - * @param string $basePath |
|
143 | 142 | */ |
144 | 143 | private function renderDirectory(Directory $directory, $target) |
145 | 144 | { |
@@ -122,7 +122,7 @@ |
||
122 | 122 | 'assets' => $this->assetsPath($target, $path), |
123 | 123 | ) |
124 | 124 | ) |
125 | - ); |
|
125 | + ); |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | /** |
@@ -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 | /** |
@@ -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) { |