@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | * @param MessageInterface[] $messages |
| 28 | 28 | * |
| 29 | 29 | * @throws FailedAcknowledgementException |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function acknowledge(array $messages); |
| 32 | 33 | |
@@ -42,6 +43,7 @@ discard block |
||
| 42 | 43 | * @param MessageInterface[] $messages |
| 43 | 44 | * |
| 44 | 45 | * @throws FailedEnqueueException |
| 46 | + * @return void |
|
| 45 | 47 | */ |
| 46 | 48 | public function enqueue(array $messages); |
| 47 | 49 | |
@@ -22,6 +22,7 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * @param callable $worker |
| 24 | 24 | * @param int $limit |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function receive(callable $worker, $limit = 1); |
| 27 | 28 | } |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | |
| 18 | 18 | use Aws\ResultInterface; |
| 19 | 19 | use Aws\Firehose\FirehoseClient; |
| 20 | -use Graze\DataStructure\Container\ContainerInterface; |
|
| 21 | 20 | use Graze\Queue\Adapter\Exception\MethodNotSupportedException; |
| 22 | 21 | use Graze\Queue\Message\MessageFactoryInterface; |
| 23 | 22 | use Graze\Queue\Message\MessageInterface; |