10000 [Console] Add show proxified command class in completion debug · symfony/symfony@90ac3c0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 90ac3c0

Browse files
committed
[Console] Add show proxified command class in completion debug
1 parent 3ad8b46 commit 90ac3c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Command/CompleteCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
108108
$suggestions->suggestOptions($command->getDefinition()->getOptions());
109109
} else {
110110
$this->log([
111-
' Completing using the <comment>'.\get_class($command).'</> class.',
111+
' Completing using the <comment>'.\get_class($command instanceof LazyCommand ? $command->getCommand() : $command).'</> class.',
112112
' Completing <comment>'.$completionInput->getCompletionType().'</> for <comment>'.$completionInput->getCompletionName().'</>',
113113
]);
114114
if (null !== $compval = $completionInput->getCompletionValue()) {

0 commit comments

Comments
 (0)
0