Completed
Pull Request — master (#40)
by Harry
10:25
created
src/Adapter/AdapterInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/ConsumerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
     /**
21 21
      * @param callable $worker
22 22
      * @param int      $limit
23
+     * @return void
23 24
      */
24 25
     public function receive(callable $worker, $limit = 1);
25 26
 }
Please login to merge, or discard this patch.
src/ProducerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
     /**
21 21
      * @param string $body
22 22
      * @param array  $options
23
+     * @return Message\MessageInterface
23 24
      */
24 25
     public function create($body, array $options = []);
25 26
 
Please login to merge, or discard this patch.
tests/unit/Handler/EagerAcknowledgementHandlerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 namespace Graze\Queue\Handler;
17 17
 
18 18
 use ArrayIterator;
19
-use Closure;
20 19
 use Graze\Queue\Adapter\AdapterInterface;
21 20
 use GuzzleHttp\Message\MessageInterface;
22 21
 use Mockery as m;
Please login to merge, or discard this patch.
tests/unit/Handler/NullAcknowledgementHandlerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 namespace Graze\Queue\Handler;
17 17
 
18 18
 use ArrayIterator;
19
-use Closure;
20 19
 use Graze\Queue\Adapter\AdapterInterface;
21 20
 use GuzzleHttp\Message\MessageInterface;
22 21
 use Mockery as m;
Please login to merge, or discard this patch.