@@ -263,12 +263,12 @@ discard block |
||
263 | 263 | /** |
264 | 264 | * Merge two collections of package links and collect duplicates for subsequent processing. |
265 | 265 | * |
266 | - * @param array $origin Primary collection |
|
266 | + * @param Link[] $origin Primary collection |
|
267 | 267 | * @param array $merge Additional collection |
268 | 268 | * @param bool $replace Replace existing links ? |
269 | 269 | * @param array $duplicateLinks Duplicate storage |
270 | 270 | * |
271 | - * @return array Merged collection |
|
271 | + * @return Link[] Merged collection |
|
272 | 272 | */ |
273 | 273 | private function mergeLinks(array $origin, array $merge, $replace, array &$duplicateLinks) |
274 | 274 | { |
@@ -326,7 +326,7 @@ discard block |
||
326 | 326 | * requires and merge them into a RootPackage. |
327 | 327 | * |
328 | 328 | * @param \Composer\Package\RootPackageInterface $root |
329 | - * @param array $requires |
|
329 | + * @param Link[] $requires |
|
330 | 330 | */ |
331 | 331 | private function mergeStabilityFlags(RootPackageInterface $root, array $requires) |
332 | 332 | { |