Completed
Push — master ( 8ba281...57dab7 )
by Tomáš
07:15
created
src/Consumer/AbstractConsumer.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -77,6 +77,7 @@  discard block
 block discarded – undo
77 77
 	}
78 78
 
79 79
 	/**
80
+	 * @param integer $numberOfMessages
80 81
 	 * @return MethodBasicConsumeOkFrame|PromiseInterface
81 82
 	 */
82 83
 	final public function consume(Channel $channel, ?int $numberOfMessages = null)
@@ -84,6 +85,10 @@  discard block
 block discarded – undo
84 85
 		$channel->qos($this->getPrefetchSize(), $this->getPrefetchCount());
85 86
 
86 87
 		return $channel->consume(
88
+
89
+			/**
90
+			 * @param integer $channel
91
+			 */
87 92
 			function (Message $message, Channel $channel, $client) use ($numberOfMessages): void {
88 93
 				$result = $this->process($message);
89 94
 
Please login to merge, or discard this patch.