@@ -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') |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Composer\EventDispatcher\EventSubscriberInterface; |
9 | 9 | use Composer\Factory; |
10 | 10 | use Composer\IO\IOInterface; |
11 | -use Composer\Package\PackageInterface; |
|
12 | 11 | use Composer\Plugin\Capability\CommandProvider; |
13 | 12 | use Composer\Plugin\Capable; |
14 | 13 | use Composer\Plugin\PluginInterface; |