8000 feature #59493 [Console] Invokable command adjustments (yceruto) · symfony/framework-bundle@0be4364 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0be4364

Browse files
committed
feature #59493 [Console] Invokable command adjustments (yceruto)
This PR was squashed before being merged into the 7.3 branch. Discussion ---------- [Console] Invokable command adjustments | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT Adjustments based on the latest reviews from symfony/symfony#59340 Commits ------- 8ab2f32ba2c [Console] Invokable command adjustments
2 parents 4b5a8ac + d9fb99f commit 0be4364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ public function load(array $configs, ContainerBuilder $container): void
611611
$container->registerForAutoconfiguration(AssetCompilerInterface::class)
612612
->addTag('asset_mapper.compiler');
613613
$container->registerAttributeForAutoconfiguration(AsCommand::class, static function (ChildDefinition $definition, AsCommand $attribute, \ReflectionClass $reflector): void {
614-
$definition->addTag('console.command', ['command' => $attribute->name, 'description' => $attribute->description ?? $reflector->getName()]);
614+
$definition->addTag('console.command', ['command' => $attribute->name, 'description' => $attribute->description]);
615615
});
616616
$container->registerForAutoconfiguration(Command::class)
617617
->addTag('console.command');

0 commit comments

Comments
 (0)
0