Skip to content

Commit 6fd5427

Browse files
author
Devon Weller
committed
style fixes
1 parent 78f2c93 commit 6fd5427

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Queue/RabbitMQQueue.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function pop($queueName = null)
134134
// create the consumer once and cache it
135135
$consumer = $this->createConsumerOnce($queue);
136136

137-
if (isset($this->receiveConfig['method']) AND $this->receiveConfig['method'] == 'basic_consume') {
137+
if (isset($this->receiveConfig['method']) and $this->receiveConfig['method'] == 'basic_consume') {
138138
$message = $consumer->receive($this->receiveConfig['timeout']);
139139
} else {
140140
$message = $consumer->receiveNoWait();
@@ -280,5 +280,4 @@ protected function reportConnectionError($action, \Exception $e)
280280
// Sleep so that we don't flood the log file
281281
sleep($this->sleepOnError);
282282
}
283-
284283
}

0 commit comments

Comments
 (0)