@@ -147,7 +147,7 @@ |
||
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 | { |
@@ -19,6 +19,9 @@ |
||
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; |
@@ -66,9 +66,9 @@ discard block |
||
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 |
||
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 | { |
@@ -156,7 +156,7 @@ |
||
156 | 156 | } |
157 | 157 | |
158 | 158 | /** |
159 | - * @param $memory |
|
159 | + * @param integer $memory |
|
160 | 160 | * |
161 | 161 | * @return string |
162 | 162 | */ |
@@ -308,6 +308,10 @@ |
||
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 |
@@ -161,6 +161,7 @@ |
||
161 | 161 | } |
162 | 162 | |
163 | 163 | /** |
164 | + * @param \Closure $qbCallback |
|
164 | 165 | * @return MessageManager |
165 | 166 | */ |
166 | 167 | protected function getMessageManager($qbCallback): MessageManager |