We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 001f715 commit 7b36702Copy full SHA for 7b36702
RabbitMq/Producer.php
@@ -61,7 +61,7 @@ public function publish($msgBody, $routingKey = null, $additionalProperties = ar
61
$msg->set('application_headers', $headersTable);
62
}
63
64
- $real_routingKey = $routingKey != null ? $routingKey : $this->defaultRoutingKey;
+ $real_routingKey = $routingKey !== null ? $routingKey : $this->defaultRoutingKey;
65
$this->getChannel()->basic_publish($msg, $this->exchangeOptions['name'], (string)$real_routingKey);
66
$this->logger->debug('AMQP message published', array(
67
'amqp' => array(
0 commit comments