Completed
Push — master ( 57dab7...a3bee9 )
by Tomáš
05:06
created
src/Consumer/AbstractConsumer.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
33 33
 	private $consumedMessages = 0;
34 34
 
35 35
 	/**
36
+	 * @param integer $numberOfMessages
36 37
 	 * @return MethodBasicConsumeOkFrame|PromiseInterface
37 38
 	 */
38 39
 	final public function consume(Channel $channel, ?int $numberOfMessages = null)
@@ -40,6 +41,10 @@  discard block
 block discarded – undo
40 41
 		$channel->qos($this->getPrefetchSize(), $this->getPrefetchCount());
41 42
 
42 43
 		return $channel->consume(
44
+
45
+			/**
46
+			 * @param integer $channel
47
+			 */
43 48
 			function (Message $message, Channel $channel, $client) use ($numberOfMessages): void {
44 49
 				$result = $this->process($message);
45 50
 
Please login to merge, or discard this patch.