Skip to content

Commit bba920b

Browse files
authored
Merge pull request #8 from jmortlock/fix-symfony-61-deprecation
Fix symfony 6.1 deprecation warning
2 parents c83d1f0 + ce4b4c1 commit bba920b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WorkflowRuntimeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
use Symfony\Component\HttpKernel\KernelInterface;
1212
use Temporal\Worker\WorkerFactoryInterface;
1313
use Highcore\TemporalBundle\Registry\ActivityRegistry;
14+
use Symfony\Component\Console\Attribute\AsCommand;
1415

16+
#[AsCommand(name: 'temporal:workflow:runtime')]
1517
final class WorkflowRuntimeCommand extends Command
1618
{
17-
protected static $defaultName = 'temporal:workflow:runtime';
18-
1919
private WorkerFactoryInterface $workerFactory;
2020
private ActivityRegistry $activityRegistry;
2121
private KernelInterface $kernel;

0 commit comments

Comments
 (0)