Skip to content

Commit 5fa6a23

Browse files
committed
chore(deprecation): command name symfony 6
1 parent b92007a commit 5fa6a23

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Symfony/Bundle/Command/DebugResourceCommand.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
final class DebugResourceCommand extends Command
2626
{
27-
protected static $defaultName = 'debug:api-resource';
28-
2927
private $resourceMetadataCollectionFactory;
3028
private $cloner;
3129
private $dumper;
@@ -120,4 +118,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
120118

121119
return Command::SUCCESS;
122120
}
121+
122+
public static function getDefaultName(): string
123+
{
124+
return 'debug:api-resource';
125+
}
123126
}

0 commit comments

Comments
 (0)