@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | /** |
105 | 105 | * Remove the effect of code of conduct Helpful Robot measure that we currently don't include in the Supported module definition |
106 | 106 | * |
107 | - * @return integer Adjusted Helpful Robot score |
|
107 | + * @return double Adjusted Helpful Robot score |
|
108 | 108 | */ |
109 | 109 | public function getAdjustedHelpfulRobotScore() |
110 | 110 | { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | } |
164 | 164 | |
165 | 165 | /** |
166 | - * @return array |
|
166 | + * @return ArrayData |
|
167 | 167 | */ |
168 | 168 | public function HelpfulRobotData() |
169 | 169 | { |
@@ -20,7 +20,7 @@ |
||
20 | 20 | ); |
21 | 21 | |
22 | 22 | /** |
23 | - * @return Composer\Package\LinkConstraint\LinkConstraintInterface |
|
23 | + * @return MultiConstraint |
|
24 | 24 | */ |
25 | 25 | public function getConstraint() { |
26 | 26 | $next = $this->Major . '.' . ($this->Minor + 1); |
@@ -66,6 +66,9 @@ discard block |
||
66 | 66 | $addon->write(); |
67 | 67 | } |
68 | 68 | |
69 | + /** |
|
70 | + * @param string $path |
|
71 | + */ |
|
69 | 72 | protected function download(PackageInterface $package, $path) { |
70 | 73 | $this->packagist |
71 | 74 | ->getComposer() |
@@ -180,6 +183,9 @@ discard block |
||
180 | 183 | return (strpos($addon->Repository, 'github.com') !== false); |
181 | 184 | } |
182 | 185 | |
186 | + /** |
|
187 | + * @param string $path |
|
188 | + */ |
|
183 | 189 | private function buildScreenshots(Addon $addon, PackageInterface $package, $path) { |
184 | 190 | $extra = $package->getExtra(); |
185 | 191 | $screenshots = array(); |