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 1313use Symfony \Component \Workflow \Exception \InvalidArgumentException ;
1414use Symfony \Component \Workflow \Registry ;
1515use Symfony \Component \Workflow \Transition ;
16- use Symfony \Component \Workflow \Workflow ;
16+ use Symfony \Component \Workflow \WorkflowInterface ;
1717
1818/**
1919 * @author Yann Eugoné <[email protected] > @@ -107,7 +107,7 @@ public function getAccessMapping(AdminInterface $admin): array
107107 /**
108108 * @throws InvalidArgumentException
109109 */
110- protected function getWorkflow (object $ subject , string $ workflowName = null ): Workflow
110+ protected function getWorkflow (object $ subject , string $ workflowName = null ): WorkflowInterface
111111 {
112112 return $ this ->registry ->get ($ subject , $ workflowName );
113113 }
You can’t perform that action at this time.
0 commit comments