@@ -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 | ); |