@@ -83,11 +83,17 @@ discard block |
||
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 |
||
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 |
||
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); |