@@ -305,6 +305,12 @@ |
||
| 305 | 305 | $this->assertInstanceOf(AMQPMessageIterator::class, $iterator); |
| 306 | 306 | } |
| 307 | 307 | |
| 308 | + /** |
|
| 309 | + * @param string $deadLetterExchange |
|
| 310 | + * @param string $deadLetterRoutingKey |
|
| 311 | + * @param integer $ttl |
|
| 312 | + * @param integer $prefetchCount |
|
| 313 | + */ |
|
| 308 | 314 | protected function getBackendAndContextMock($recover = false, $deadLetterExchange = null, $deadLetterRoutingKey = null, $ttl = null, $prefetchCount = null) |
| 309 | 315 | { |
| 310 | 316 | $backend = new AMQPBackend( |
@@ -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 | { |