Completed
Push — master ( 4786e9...d9655a )
by Robbie
9s
created
mysite/code/services/AddonUpdater.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -345,7 +345,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use Composer\Package\Version\VersionParser;
4
-use Guzzle\Http\Exception\ClientErrorResponseException;
5 4
 use Packagist\Api\Result\Package;
6 5
 use Packagist\Api\Result\Package\Version;
7 6
 use SilverStripe\Elastica\ElasticaService;
Please login to merge, or discard this patch.
mysite/code/services/AddonBuilder.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
mysite/code/dataobjects/Addon.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
      * Calculate the total amount of downloads per day
202 202
      * Based on the total amount of downloads divided by the age of the addon
203 203
      *
204
-     * @return float
204
+     * @return integer
205 205
      */
206 206
     public function getRelativePopularity()
207 207
     {
Please login to merge, or discard this patch.