@@ -50,10 +50,10 @@ |
||
| 50 | 50 | */ |
| 51 | 51 | public function setFrom(string $name, string $email): Driver |
| 52 | 52 | { |
| 53 | - $this->message['From']['Name'] = $name; |
|
| 54 | - $this->message['From']['Email'] = $email; |
|
| 53 | + $this->message['From']['Name'] = $name; |
|
| 54 | + $this->message['From']['Email'] = $email; |
|
| 55 | 55 | |
| 56 | - return $this; |
|
| 56 | + return $this; |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | $this->message |
| 134 | 134 | ); |
| 135 | 135 | } catch (Mandrill_Error $exception) { |
| 136 | - throw SendError::responseError('mandrill',0, $exception); |
|
| 136 | + throw SendError::responseError('mandrill', 0, $exception); |
|
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | return $response; |
@@ -15,10 +15,10 @@ discard block |
||
| 15 | 15 | */ |
| 16 | 16 | public function boot() |
| 17 | 17 | { |
| 18 | - $this->mergeConfigFrom(__DIR__.'/../config/mail-template.php', 'mail-template'); |
|
| 18 | + $this->mergeConfigFrom(__DIR__ . '/../config/mail-template.php', 'mail-template'); |
|
| 19 | 19 | |
| 20 | 20 | $this->publishes([ |
| 21 | - __DIR__.'/../config/mail-template.php' => config_path('mail-template.php'), |
|
| 21 | + __DIR__ . '/../config/mail-template.php' => config_path('mail-template.php'), |
|
| 22 | 22 | ]); |
| 23 | 23 | } |
| 24 | 24 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function register() |
| 29 | 29 | { |
| 30 | - $this->app->singleton(MailTemplate::class, function () { |
|
| 30 | + $this->app->singleton(MailTemplate::class, function() { |
|
| 31 | 31 | |
| 32 | 32 | $driver = config('mail-template.driver', null); |
| 33 | 33 | if (is_null($driver) || $driver === 'log') { |