We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6b9fb4 commit 71a1566Copy full SHA for 71a1566
src/Controller/WorkflowControllerTrait.php
@@ -17,6 +17,7 @@
17
use Symfony\Component\Workflow\Exception\LogicException;
18
use Symfony\Component\Workflow\Registry;
19
use Symfony\Component\Workflow\Workflow;
20
+use Symfony\Component\Workflow\WorkflowInterface;
21
22
/**
23
*
@@ -131,7 +132,7 @@ public function workflowApplyTransitionAction(Request $request): Response
131
132
133
* @throws InvalidArgumentException
134
*/
- protected function getWorkflow(object $object): Workflow
135
+ protected function getWorkflow(object $object): WorkflowInterface
136
{
137
$registry = $this->workflowRegistry ?? null;
138
if ($registry === null) {
0 commit comments