Completed
Pull Request — 3.x (#415)
by
unknown
01:48
created
src/Iterator/MessageManagerMessageIterator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
      *
148 148
      * @param array $types
149 149
      *
150
-     * @return mixed
150
+     * @return MessageInterface[]
151 151
      */
152 152
     protected function findNextMessages($types)
153 153
     {
Please login to merge, or discard this patch.
tests/Entity/Message.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 
20 20
 class Message extends BaseMessage
21 21
 {
22
+    /**
23
+     * @param integer $id
24
+     */
22 25
     public function setId($id): void
23 26
     {
24 27
         $this->id = $id;
Please login to merge, or discard this patch.
tests/Iterator/AMQPMessageIteratorTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,9 +66,9 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-     * @param mixed $queueName
69
+     * @param string $queueName
70 70
      *
71
-     * @return AmqpConsumer|\PHPUnit_Framework_MockObject_MockObject
71
+     * @return AmqpConsumer
72 72
      */
73 73
     private function createConsumerStub($queueName = null)
74 74
     {
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-     * @return AMQPChannel|\PHPUnit_Framework_MockObject_MockObject|AMQPChannel
93
+     * @return AMQPChannel
94 94
      */
95 95
     private function createChannelMock()
96 96
     {
Please login to merge, or discard this patch.
src/Command/ConsumerHandlerCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
     }
157 157
 
158 158
     /**
159
-     * @param $memory
159
+     * @param integer $memory
160 160
      *
161 161
      * @return string
162 162
      */
Please login to merge, or discard this patch.
tests/Backend/AMQPBackendTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -308,6 +308,10 @@
 block discarded – undo
308 308
     }
309 309
 
310 310
     /**
311
+     * @param string $deadLetterExchange
312
+     * @param string $deadLetterRoutingKey
313
+     * @param integer $ttl
314
+     * @param integer $prefetchCount
311 315
      * @return AMQPBackend
312 316
      */
313 317
     protected function buildBackend($recover = false, $deadLetterExchange = null, $deadLetterRoutingKey = null, $ttl = null, $prefetchCount = null): AMQPBackend
Please login to merge, or discard this patch.
tests/Entity/MessageManagerTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -161,6 +161,7 @@
 block discarded – undo
161 161
     }
162 162
 
163 163
     /**
164
+     * @param \Closure $qbCallback
164 165
      * @return MessageManager
165 166
      */
166 167
     protected function getMessageManager($qbCallback): MessageManager
Please login to merge, or discard this patch.