Skip to content

Commit 09be4be

Browse files
committed
#342 Fix formatting to comply with PSR-2
1 parent 6408495 commit 09be4be

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

RabbitMq/BaseConsumer.php

+6-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ protected function setupConsumer()
4545
$this->getChannel()->basic_consume($this->queueOptions['name'], $this->getConsumerTag(), false, false, false, false, array($this, 'processMessage'));
4646
}
4747

48-
public function processMessage(AMQPMessage $msg) {}
48+
public function processMessage(AMQPMessage $msg)
49+
{
50+
//To be implemented by descendant classes
51+
}
4952

5053
protected function maybeStopConsumer()
5154
{
@@ -83,8 +86,8 @@ public function forceStopConsumer()
8386
* Sets the qos settings for the current channel
8487
* Consider that prefetchSize and global do not work with rabbitMQ version <= 8.0
8588
*
86-
* @param int $prefetchSize
87-
* @param int $prefetchCount
89+
* @param int $prefetchSize
90+
* @param int $prefetchCount
8891
* @param bool $global
8992
*/
9093
public function setQosOptions($prefetchSize = 0, $prefetchCount = 0, $global = false)

0 commit comments

Comments
 (0)