Skip to content

Commit

Permalink
Merge pull request #60 from Vinelab/change/typing-mistake-in-error-ha…
Browse files Browse the repository at this point in the history
…ndler

fixed typing mistake(borker->broker) in readme.md and handler.php
  • Loading branch information
KinaneD authored Jan 9, 2020
2 parents ea3911e + 8799abc commit 1be657d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Configuring the consumer can be done both manually or from the command line:
} elseif($e instanceof WhatElseException) {
$broker->nackMessage();
} else {
$msg = $borker->getMessage();
$msg = $broker->getMessage();
if($msg->body) {
//
}
Expand Down
2 changes: 1 addition & 1 deletion src/examples/handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function handleError($e, $broker)
} elseif ($e instanceof WhatElseException) {
$broker->nackMessage();
} else {
$msg = $borker->getMessage();
$msg = $broker->getMessage();
if ($msg->body) {
}
}
Expand Down

0 comments on commit 1be657d

Please sign in to comment.