Skip to content

Commit 51ef374

Browse files
authored
Change the return value of WorkflowControllerTrait
1 parent e6b9fb4 commit 51ef374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/WorkflowControllerTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function workflowApplyTransitionAction(Request $request): Response
131131
/**
132132
* @throws InvalidArgumentException
133133
*/
134-
protected function getWorkflow(object $object): Workflow
134+
protected function getWorkflow(object $object): WorkflowInterface
135135
{
136136
$registry = $this->workflowRegistry ?? null;
137137
if ($registry === null) {

0 commit comments

Comments
 (0)