@@ -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; |
@@ -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 | */ |
@@ -307,6 +307,12 @@ |
||
307 | 307 | $this->assertInstanceOf(AMQPMessageIterator::class, $iterator); |
308 | 308 | } |
309 | 309 | |
310 | + /** |
|
311 | + * @param string $deadLetterExchange |
|
312 | + * @param string $deadLetterRoutingKey |
|
313 | + * @param integer $ttl |
|
314 | + * @param integer $prefetchCount |
|
315 | + */ |
|
310 | 316 | protected function buildBackend($recover = false, $deadLetterExchange = null, $deadLetterRoutingKey = null, $ttl = null, $prefetchCount = null): AMQPBackend |
311 | 317 | { |
312 | 318 | $backend = new AMQPBackend( |
@@ -157,6 +157,9 @@ |
||
157 | 157 | return new MessageManagerMock(Message::class, $registry); |
158 | 158 | } |
159 | 159 | |
160 | + /** |
|
161 | + * @param \Closure $qbCallback |
|
162 | + */ |
|
160 | 163 | protected function getMessageManager($qbCallback): MessageManager |
161 | 164 | { |
162 | 165 | $query = $this->getMockForAbstractClass( |