Completed
Pull Request — 3.x (#276)
by Maksim
02:27
created
Tests/Backend/AMQPBackendTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -305,6 +305,12 @@
 block discarded – undo
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(
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.