@@ -65,7 +65,7 @@ |
||
65 | 65 | * Similar to a usort except that if 2 priorities are equal, order is preserved. |
66 | 66 | * Shamelessly copied from http://php.net/manual/fr/function.usort.php#38827 |
67 | 67 | * |
68 | - * @param $array |
|
68 | + * @param Asset[] $array |
|
69 | 69 | * @param string $cmp_function |
70 | 70 | */ |
71 | 71 | private function stableSort(&$array, $cmp_function = 'strcmp') |
@@ -42,7 +42,6 @@ |
||
42 | 42 | * Find discovery.json files in the passed repository and builds an asset type. |
43 | 43 | * |
44 | 44 | * @param RepositoryInterface $repository |
45 | - * @param RootPackageInterface $rootPackage |
|
46 | 45 | * @return array|AssetType[] |
47 | 46 | */ |
48 | 47 | public function findAssetTypes(RepositoryInterface $repository) : array |