Skip to content

Commit

Permalink
Merge pull request #73 from loic425/fix/debug-command-for-sf7
Browse files Browse the repository at this point in the history
Fix debug command for Symfony 7
  • Loading branch information
lchrusciel authored Apr 22, 2024
2 parents 1cab477 + 2d51800 commit 63a3269
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Command/winzouStateMachineDebugCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace winzou\Bundle\StateMachineBundle\Command;

use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Helper\TableSeparator;
use Symfony\Component\Console\Input\InputArgument;
Expand All @@ -10,6 +11,7 @@
use Symfony\Component\Console\Helper\Table;
use Symfony\Component\Console\Question\ChoiceQuestion;

#[AsCommand('debug:winzou:state-machine')]
class winzouStateMachineDebugCommand extends Command
{
protected static $defaultName = 'debug:winzou:state-machine';
Expand Down Expand Up @@ -76,7 +78,7 @@ protected function interact(InputInterface $input, OutputInterface $output)
/**
* {@inheritdoc}
*/
public function execute(InputInterface $input, OutputInterface $output)
public function execute(InputInterface $input, OutputInterface $output): int
{
$key = $input->getArgument('key');

Expand Down

0 comments on commit 63a3269

Please sign in to comment.