Fix the problem at the source, refs #3322
parent
5c42cc8c8c
commit
73e9db5d99
|
@ -333,7 +333,8 @@ EOT
|
||||||
}
|
}
|
||||||
|
|
||||||
while (null !== $package = $dialog->ask($output, $prompt)) {
|
while (null !== $package = $dialog->ask($output, $prompt)) {
|
||||||
$matches = array_values($this->findPackages($package));
|
$matches = $this->findPackages($package);
|
||||||
|
|
||||||
if (count($matches)) {
|
if (count($matches)) {
|
||||||
$exactMatch = null;
|
$exactMatch = null;
|
||||||
$choices = array();
|
$choices = array();
|
||||||
|
|
|
@ -98,7 +98,7 @@ class ArrayRepository implements RepositoryInterface
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $matches;
|
return array_values($matches);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue