File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4040use Symfony \Component \Validator \ConstraintViolationInterface ;
4141use Symfony \Component \Validator \Validator \ValidatorInterface ;
4242use Symfony \Component \Workflow \Registry ;
43- use Symfony \Component \Workflow \Workflow ;
43+ use Symfony \Component \Workflow \WorkflowInterface ;
4444use Throwable ;
4545use Twig \Environment ;
4646use Webmozart \Assert \Assert ;
@@ -300,7 +300,7 @@ private function resetRequestContext(): void
300300 $ this ->urlGenerator ->setContext ($ this ->initialRequestContext );
301301 }
302302
303- private function getWorkflow (FeedInterface $ feed ): Workflow
303+ private function getWorkflow (FeedInterface $ feed ): WorkflowInterface
304304 {
305305 try {
306306 $ workflow = $ this ->workflowRegistry ->get ($ feed , FeedGraph::GRAPH );
@@ -324,7 +324,7 @@ private function openStream()
324324 return fopen ('php://temp ' , 'w+b ' );
325325 }
326326
327- private function applyErrorTransition (Workflow $ workflow , FeedInterface $ feed ): void
327+ private function applyErrorTransition (WorkflowInterface $ workflow , FeedInterface $ feed ): void
328328 {
329329 // if the feed is already errored we won't want to throw an exception
330330 if ($ feed ->isErrored ()) {
You can’t perform that action at this time.
0 commit comments