Merge pull request #6058 from turbo124/v5-develop

Fixes for postmark bindings
This commit is contained in:
David Bomba 2021-06-17 14:34:15 +10:00 committed by GitHub
commit d088bb29b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,12 +14,12 @@ class MailServiceProvider extends MailProvider
public function register()
{
$this->registerIlluminateMailer();
}
public function boot()
{
$this->registerIlluminateMailer();
}
protected function registerIlluminateMailer()
@ -33,7 +33,7 @@ class MailServiceProvider extends MailProvider
});
$this->app['mail.manager']->extend('postmark', function () {
return new PostmarkTransport(
$this->guzzle(config('postmark.guzzle', [])),
config('postmark.secret')