@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * |
| 89 | 89 | * @param array $flags |
| 90 | 90 | * @param int $minimumStability |
| 91 | - * @param array $requires |
|
| 91 | + * @param \Composer\Package\Link[] $requires |
|
| 92 | 92 | * |
| 93 | 93 | * @return array |
| 94 | 94 | */ |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | * |
| 128 | 128 | * @param string $version |
| 129 | 129 | * |
| 130 | - * @return mixed |
|
| 130 | + * @return null|integer |
|
| 131 | 131 | */ |
| 132 | 132 | private function extractStability($version) |
| 133 | 133 | { |
@@ -10,12 +10,12 @@ |
||
| 10 | 10 | use Composer\EventDispatcher\Event as BaseEvent; |
| 11 | 11 | use Composer\EventDispatcher\EventSubscriberInterface; |
| 12 | 12 | use Composer\Factory; |
| 13 | +use Composer\IO\IOInterface; |
|
| 13 | 14 | use Composer\Installer; |
| 14 | 15 | use Composer\Installer\InstallerEvent; |
| 15 | 16 | use Composer\Installer\InstallerEvents; |
| 16 | 17 | use Composer\Installer\PackageEvent; |
| 17 | 18 | use Composer\Installer\PackageEvents; |
| 18 | -use Composer\IO\IOInterface; |
|
| 19 | 19 | use Composer\Package\RootPackageInterface; |
| 20 | 20 | use Composer\Plugin\PluginInterface; |
| 21 | 21 | use Composer\Script\Event as ScriptEvent; |