Skip to content

Commit b2fc54d

Browse files
committed
Remove missed deprecated method call
1 parent a32cf20 commit b2fc54d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/Behaviours/CanSelectServiceFromInput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ trait CanSelectServiceFromInput
2121
protected function getServiceSelectionFromInput(InputInterface $input, Project $project): ?RunnableResource
2222
{
2323
if (null === $service = $input->getArgument('service')) {
24-
$libs = $project->services()->list()->sortByKey()->keys();
24+
$libs = $project->services()->list()->sortBy('key')->keys();
2525

2626
$service = $this->tools()->choose('Select the service to work with: ', $libs->toArray());
2727
}

0 commit comments

Comments
 (0)