@@ -48,7 +48,7 @@ |
||
48 | 48 | public function register() |
49 | 49 | { |
50 | 50 | |
51 | - $this->app->singleton('mailer', function ($app) { |
|
51 | + $this->app->singleton('mailer', function($app) { |
|
52 | 52 | $this->registerSwiftMailer(); |
53 | 53 | |
54 | 54 | // Once we have create the mailer instance, we will set a container instance |
@@ -79,7 +79,7 @@ |
||
79 | 79 | |
80 | 80 | |
81 | 81 | $model = $this->model->initByTemplate($view); |
82 | - $template = $model->where('action',$view)->get()->last(); |
|
82 | + $template = $model->where('action', $view)->get()->last(); |
|
83 | 83 | $plain = (!empty($template)) ? $template->getPlain() : $plain; |
84 | 84 | |
85 | 85 | if (!empty($template)) |