Skip to content

Commit

Permalink
Removed unnecessary override
Browse files Browse the repository at this point in the history
  • Loading branch information
jamielsharief committed Jun 6, 2021
1 parent 9107e77 commit 1d3d733
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/Mailbox/Mailbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,25 +195,6 @@ private function performProcessing(): bool
return false;
}

/**
* Dispatches a callback
*
* @param string $callback
* @param array $arguments
* @param boolean $cancelable
* @return boolean
*/
protected function dispatchCallback(string $callback, array $arguments = [], bool $cancelable = true): bool
{
foreach ($this->getCallbacks($callback) as $method => $options) {
if ($this->$method(...$arguments) === false && $cancelable) {
return false;
}
}

return true;
}

/**
* Bounces a message with a mailer, the \Origin\Mailbox\Mail object will be passed
* to the mailer. This will also halt futher processing
Expand Down

0 comments on commit 1d3d733

Please sign in to comment.