| @@ -228,7 +228,7 @@ | ||
| 228 | 228 | } | 
| 229 | 229 | |
| 230 | 230 | /** | 
| 231 | - * @param object $object | |
| 231 | + * @param NodeInterface $object | |
| 232 | 232 | * | 
| 233 | 233 | * @return string | 
| 234 | 234 | */ | 
| @@ -21,6 +21,7 @@ discard block | ||
| 21 | 21 | * Triggered when a Flow starts | 
| 22 | 22 | * | 
| 23 | 23 | * @param FlowInterface $flow | 
| 24 | + * @return void | |
| 24 | 25 | */ | 
| 25 | 26 | public function start(FlowInterface $flow); | 
| 26 | 27 | |
| @@ -30,6 +31,7 @@ discard block | ||
| 30 | 31 | * | 
| 31 | 32 | * @param FlowInterface $flow | 
| 32 | 33 | * @param NodeInterface $node | 
| 34 | + * @return void | |
| 33 | 35 | */ | 
| 34 | 36 | public function progress(FlowInterface $flow, NodeInterface $node); | 
| 35 | 37 | |
| @@ -37,6 +39,7 @@ discard block | ||
| 37 | 39 | * Triggered when a Flow completes without exceptions | 
| 38 | 40 | * | 
| 39 | 41 | * @param FlowInterface $flow | 
| 42 | + * @return void | |
| 40 | 43 | */ | 
| 41 | 44 | public function success(FlowInterface $flow); | 
| 42 | 45 | |
| @@ -44,6 +47,7 @@ discard block | ||
| 44 | 47 | * Triggered when a Flow fails | 
| 45 | 48 | * | 
| 46 | 49 | * @param FlowInterface $flow | 
| 50 | + * @return void | |
| 47 | 51 | */ | 
| 48 | 52 | public function fail(FlowInterface $flow); | 
| 49 | 53 | } | 
| @@ -16,6 +16,7 @@ | ||
| 16 | 16 |  { | 
| 17 | 17 | /** | 
| 18 | 18 | * @param string $status The flow status | 
| 19 | + * @return void | |
| 19 | 20 | */ | 
| 20 | 21 | public function __construct($status); | 
| 21 | 22 | |