Skip to content

Commit

Permalink
Update src/Publisher.php
Browse files Browse the repository at this point in the history
Co-Authored-By: petekelly <[email protected]>
  • Loading branch information
stevenklar and petekelly authored Apr 9, 2019
1 parent 8ec69b3 commit 9d9285c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Publisher.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function publish($routing, $message, $mandatory=false)
{
$this->publish_result = true;

if($mandatory == true) {
if ($mandatory === true) {
$this->getChannel()->confirm_select();
$this->getChannel()->set_nack_handler([$this, 'nack']);
$this->getChannel()->set_return_listener([$this, 'return']);
Expand Down

0 comments on commit 9d9285c

Please sign in to comment.