Completed
Push — master ( e01d99...c9bd8a )
by Dmitry
02:36
created
src/models/AssetPackage.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,11 +83,17 @@  discard block
 block discarded – undo
83 83
         return [$type, $name];
84 84
     }
85 85
 
86
+    /**
87
+     * @return string
88
+     */
86 89
     public function getType()
87 90
     {
88 91
         return $this->_type;
89 92
     }
90 93
 
94
+    /**
95
+     * @return string
96
+     */
91 97
     public function getName()
92 98
     {
93 99
         return $this->_name;
@@ -141,7 +147,7 @@  discard block
 block discarded – undo
141 147
      *
142 148
      * @param string $type
143 149
      * @param string $name
144
-     * @return static|null
150
+     * @return AssetPackage
145 151
      */
146 152
     public static function findOne($type, $name)
147 153
     {
@@ -202,6 +208,9 @@  discard block
 block discarded – undo
202 208
         return $releases;
203 209
     }
204 210
 
211
+    /**
212
+     * @param string $version
213
+     */
205 214
     public function prepareUid($version)
206 215
     {
207 216
         $known = $this->getSaved()->getRelease($version);
Please login to merge, or discard this patch.