@@ -123,6 +123,9 @@ discard block |
||
123 | 123 | return new static($type, $name); |
124 | 124 | } |
125 | 125 | |
126 | + /** |
|
127 | + * @return string |
|
128 | + */ |
|
126 | 129 | public function getType() |
127 | 130 | { |
128 | 131 | return $this->_type; |
@@ -133,6 +136,9 @@ discard block |
||
133 | 136 | return static::buildFullName($this->_type, static::normalizeName($this->_name)); |
134 | 137 | } |
135 | 138 | |
139 | + /** |
|
140 | + * @return string |
|
141 | + */ |
|
136 | 142 | public function getName() |
137 | 143 | { |
138 | 144 | return $this->_name; |
@@ -275,6 +281,9 @@ discard block |
||
275 | 281 | return $requires; |
276 | 282 | } |
277 | 283 | |
284 | + /** |
|
285 | + * @param string $version |
|
286 | + */ |
|
278 | 287 | public function prepareUid($version) |
279 | 288 | { |
280 | 289 | $known = $this->getSaved()->getRelease($version); |
@@ -344,7 +353,7 @@ discard block |
||
344 | 353 | } |
345 | 354 | |
346 | 355 | /** |
347 | - * @return array |
|
356 | + * @return string[] |
|
348 | 357 | */ |
349 | 358 | public function __sleep() |
350 | 359 | { |