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 b81033a commit 0f6ce75Copy full SHA for 0f6ce75
src/Console/Command/CommandListCommand.php
@@ -46,7 +46,7 @@ protected function getCommandsList(): array
46
47
return collect($handler->getCommands())
48
->map(
49
- fn ($command, $name): array => [$name, $handler->getCommandBus()->resolveCommand($command)->getDescription()]
+ fn ($command, $name): array => [$name, $handler->getCommandBus()->resolveCommand($command)->setName($name)->getDescription()]
50
)->all();
51
}
52
0 commit comments