Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 10, 2019
1 parent 47d936b commit 4320b82
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/Illuminate/Mail/TransportManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,11 @@ protected function createMailgunDriver()
*/
protected function createPostmarkDriver()
{
$transport = new PostmarkTransport(
return tap(new PostmarkTransport(
$this->config->get('services.postmark.token')
);

$transport->registerPlugin(new ThrowExceptionOnFailurePlugin());

return $transport;
), function ($transport) {
$transport->registerPlugin(new ThrowExceptionOnFailurePlugin());
});
}

/**
Expand Down

0 comments on commit 4320b82

Please sign in to comment.