@@ -131,6 +131,9 @@ |
||
| 131 | 131 | return 0; |
| 132 | 132 | } |
| 133 | 133 | |
| 134 | + /** |
|
| 135 | + * @param string $input |
|
| 136 | + */ |
|
| 134 | 137 | private function validate(callable $validator, $input): bool |
| 135 | 138 | { |
| 136 | 139 | try { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace ApiClients\Tools\Installer; |
| 4 | 4 | |
| 5 | -use Composer\Composer; |
|
| 6 | 5 | use Composer\Factory; |
| 7 | 6 | use InvalidArgumentException; |
| 8 | 7 | use PackageVersions\Versions; |