We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a32cf20 commit b2fc54dCopy full SHA for b2fc54d
src/Commands/Behaviours/CanSelectServiceFromInput.php
@@ -21,7 +21,7 @@ trait CanSelectServiceFromInput
21
protected function getServiceSelectionFromInput(InputInterface $input, Project $project): ?RunnableResource
22
{
23
if (null === $service = $input->getArgument('service')) {
24
- $libs = $project->services()->list()->sortByKey()->keys();
+ $libs = $project->services()->list()->sortBy('key')->keys();
25
26
$service = $this->tools()->choose('Select the service to work with: ', $libs->toArray());
27
}
0 commit comments