Skip to content
Permalink
Browse files

formatting

  • Loading branch information
taylorotwell committed Dec 10, 2019
1 parent 47d936b commit 4320b82f848d63d41df95860ed3bf595202873a9
Showing with 4 additions and 6 deletions.
  1. +4 −6 src/Illuminate/Mail/TransportManager.php
@@ -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());
});
}

/**

0 comments on commit 4320b82

Please sign in to comment.
You can’t perform that action at this time.