@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | public function boot() |
19 | 19 | { |
20 | 20 | $this->publishes([ |
21 | - __DIR__.'/../config/mailman.php' => config_path('mailman.php'), |
|
21 | + __DIR__.'/../config/mailman.php' => config_path('mailman.php'), |
|
22 | 22 | ]); |
23 | 23 | |
24 | 24 | $this->publishes([ |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | parent::register(); |
37 | 37 | |
38 | 38 | $this->mergeConfigFrom( |
39 | - __DIR__.'/../config/mailman.php', 'mailman' |
|
39 | + __DIR__.'/../config/mailman.php', 'mailman' |
|
40 | 40 | ); |
41 | 41 | } |
42 | 42 | |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | |
90 | 90 | $this->app->singleton('swift.mailer', function ($app) { |
91 | 91 | return new Swift_Mailer( |
92 | - new MailmanTransport($app) |
|
92 | + new MailmanTransport($app) |
|
93 | 93 | ); |
94 | 94 | }); |
95 | 95 | } |
@@ -60,10 +60,10 @@ discard block |
||
60 | 60 | */ |
61 | 61 | public function registerMailmanLogger() |
62 | 62 | { |
63 | - $this->app->singleton('mailman.logger', function ($app) { |
|
63 | + $this->app->singleton('mailman.logger', function($app) { |
|
64 | 64 | $storageAdapter = $app['config']['mailman']['log']['storage']; |
65 | 65 | |
66 | - if (! in_array($storageAdapter, ['database', 'filesystem'])) { |
|
66 | + if (!in_array($storageAdapter, ['database', 'filesystem'])) { |
|
67 | 67 | throw new \RuntimeException("Invalid log storage adapter was supplied! Adapter \"{$storageAdapter}\" is not supported!"); |
68 | 68 | } |
69 | 69 | |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | { |
88 | 88 | $this->registerSwiftTransport(); |
89 | 89 | |
90 | - $this->app->singleton('swift.mailer', function ($app) { |
|
90 | + $this->app->singleton('swift.mailer', function($app) { |
|
91 | 91 | return new Swift_Mailer( |
92 | 92 | new MailmanTransport($app) |
93 | 93 | ); |