File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 13
13
use Symfony \Component \Workflow \Exception \InvalidArgumentException ;
14
14
use Symfony \Component \Workflow \Registry ;
15
15
use Symfony \Component \Workflow \Transition ;
16
- use Symfony \Component \Workflow \Workflow ;
16
+ use Symfony \Component \Workflow \WorkflowInterface ;
17
17
18
18
/**
19
19
* @author Yann Eugoné <[email protected] >
@@ -107,7 +107,7 @@ public function getAccessMapping(AdminInterface $admin): array
107
107
/**
108
108
* @throws InvalidArgumentException
109
109
*/
110
- protected function getWorkflow (object $ subject , string $ workflowName = null ): Workflow
110
+ protected function getWorkflow (object $ subject , string $ workflowName = null ): WorkflowInterface
111
111
{
112
112
return $ this ->registry ->get ($ subject , $ workflowName );
113
113
}
You can’t perform that action at this time.
0 commit comments