Completed
Push — master ( 524f68...5fad21 )
by Dmitry
02:35
created
src/console/AssetPackageController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@
 block discarded – undo
24 24
         echo 'updated ' . $package->getHash() . ' ' . $package->getFullName() . "\n";
25 25
     }
26 26
 
27
+    /**
28
+     * @param string|boolean $file
29
+     */
27 30
     public function actionUpdateList($file = STDIN)
28 31
     {
29 32
         $handler = is_resource($file) ? $file : fopen($file, 'r');
Please login to merge, or discard this patch.
src/models/AssetPackage.php 1 patch
Doc Comments   +11 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,11 +103,17 @@  discard block
 block discarded – undo
103 103
         return [$type, $name];
104 104
     }
105 105
 
106
+    /**
107
+     * @return string
108
+     */
106 109
     public function getType()
107 110
     {
108 111
         return $this->_type;
109 112
     }
110 113
 
114
+    /**
115
+     * @return string
116
+     */
111 117
     public function getName()
112 118
     {
113 119
         return $this->_name;
@@ -166,7 +172,7 @@  discard block
 block discarded – undo
166 172
      *
167 173
      * @param string $type
168 174
      * @param string $name
169
-     * @return static|null
175
+     * @return AssetPackage
170 176
      */
171 177
     public static function findOne($type, $name)
172 178
     {
@@ -229,6 +235,9 @@  discard block
 block discarded – undo
229 235
         return $releases;
230 236
     }
231 237
 
238
+    /**
239
+     * @param string $version
240
+     */
232 241
     public function prepareUid($version)
233 242
     {
234 243
         $known = $this->getSaved()->getRelease($version);
@@ -265,7 +274,7 @@  discard block
 block discarded – undo
265 274
 
266 275
     /**
267 276
      * Returns the latest update time (UNIX Epoch)
268
-     * @return int|null
277
+     * @return integer
269 278
      */
270 279
     public function getUpdateTime()
271 280
     {
Please login to merge, or discard this patch.