@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | /** |
115 | 115 | * Remove the effect of code of conduct Helpful Robot measure that we currently don't include in the Supported module definition |
116 | 116 | * |
117 | - * @return integer Adjusted Helpful Robot score |
|
117 | + * @return double Adjusted Helpful Robot score |
|
118 | 118 | */ |
119 | 119 | public function getAdjustedHelpfulRobotScore() |
120 | 120 | { |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | * Calculate the total amount of downloads per day |
203 | 203 | * Based on the total amount of downloads divided by the age of the addon |
204 | 204 | * |
205 | - * @return float |
|
205 | + * @return integer |
|
206 | 206 | */ |
207 | 207 | public function getRelativePopularity() |
208 | 208 | { |
@@ -345,7 +345,7 @@ |
||
345 | 345 | /** |
346 | 346 | * Get the list of SilverStripe versions |
347 | 347 | * |
348 | - * @return DataList |
|
348 | + * @return SilverStripeVersion[] |
|
349 | 349 | */ |
350 | 350 | public function getSilverStripeVersions() |
351 | 351 | { |
@@ -69,6 +69,9 @@ discard block |
||
69 | 69 | $addon->write(); |
70 | 70 | } |
71 | 71 | |
72 | + /** |
|
73 | + * @param string $path |
|
74 | + */ |
|
72 | 75 | protected function download(PackageInterface $package, $path) |
73 | 76 | { |
74 | 77 | $this->packagist |
@@ -214,6 +217,9 @@ discard block |
||
214 | 217 | return (strpos($addon->Repository, 'github.com') !== false); |
215 | 218 | } |
216 | 219 | |
220 | + /** |
|
221 | + * @param string $path |
|
222 | + */ |
|
217 | 223 | private function buildScreenshots(Addon $addon, PackageInterface $package, $path) |
218 | 224 | { |
219 | 225 | $extra = $package->getExtra(); |