File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function getDescription(): string
4242 return $ this ->loopControl ->getDescription ();
4343 }
4444
45- public function run (WorkflowControl $ control , WorkflowContainer $ container )
45+ public function run (WorkflowControl $ control , WorkflowContainer $ container ): void
4646 {
4747 $ iteration = 0 ;
4848
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function getDescription(): string
2929 return "Execute nested workflow " ;
3030 }
3131
32- public function run (WorkflowControl $ control , WorkflowContainer $ container )
32+ public function run (WorkflowControl $ control , WorkflowContainer $ container ): void
3333 {
3434 try {
3535 $ this ->workflowResult = $ this ->nestedWorkflow ->executeWorkflow (
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ interface WorkflowStep extends Describable
1313 /**
1414 * Implement the logic for your step
1515 */
16- public function run (WorkflowControl $ control , WorkflowContainer $ container );
16+ public function run (WorkflowControl $ control , WorkflowContainer $ container ): void ;
1717}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public function getDescription(): string
3434 return $ this ->description ;
3535 }
3636
37- public function run (WorkflowControl $ control , WorkflowContainer $ container )
37+ public function run (WorkflowControl $ control , WorkflowContainer $ container ): void
3838 {
3939 ($ this ->callable )($ control , $ container );
4040 }
You can’t perform that action at this time.
0 commit comments