@@ -15,12 +15,13 @@ |
||
| 15 | 15 | * @param int $messages The number of message |
| 16 | 16 | * @param int $seconds The amount of time a consumer should listen for messages |
| 17 | 17 | * @param int $maxMemory The amount of memory when a consumer should stop consuming |
| 18 | - * @return mixed |
|
| 18 | + * @return integer |
|
| 19 | 19 | */ |
| 20 | 20 | public function startConsuming(int $messages, int $seconds, int $maxMemory); |
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * Stop the consumer |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function stopConsuming(); |
| 26 | 27 | } |
@@ -33,6 +33,7 @@ |
||
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * Reconnect the entity |
| 36 | + * @return void |
|
| 36 | 37 | */ |
| 37 | 38 | public function reconnect(); |
| 38 | 39 | } |