@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | { |
| 59 | 59 | $templateData = MailEclipse::getMailableTemplateData($name); |
| 60 | 60 | |
| 61 | - if (! $templateData) { |
|
| 61 | + if (!$templateData) { |
|
| 62 | 62 | return redirect()->route('viewMailable', ['name' => $name]); |
| 63 | 63 | } |
| 64 | 64 | |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | |
| 106 | 106 | $resource = $mailable->first(); |
| 107 | 107 | |
| 108 | - if (! is_null(MailEclipse::handleMailableViewDataArgs($resource['namespace']))) { |
|
| 108 | + if (!is_null(MailEclipse::handleMailableViewDataArgs($resource['namespace']))) { |
|
| 109 | 109 | // $instance = new $resource['namespace']; |
| 110 | 110 | // |
| 111 | 111 | $instance = MailEclipse::handleMailableViewDataArgs($resource['namespace']); |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | return 'View not found'; |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | - $view = ! is_null($resource['markdown']) ? $resource['markdown'] : $resource['data']->view; |
|
| 120 | + $view = !is_null($resource['markdown']) ? $resource['markdown'] : $resource['data']->view; |
|
| 121 | 121 | |
| 122 | 122 | if (view()->exists($view)) { |
| 123 | 123 | try { |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | */ |
| 35 | 35 | private function registerRoutes() |
| 36 | 36 | { |
| 37 | - Route::group($this->routeConfiguration(), function () { |
|
| 37 | + Route::group($this->routeConfiguration(), function() { |
|
| 38 | 38 | $this->loadRoutesFrom(__DIR__.'/Http/routes.php'); |
| 39 | 39 | }); |
| 40 | 40 | } |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | $this->mergeConfigFrom(__DIR__.'/../config/maileclipse.php', 'maileclipse'); |
| 64 | 64 | |
| 65 | 65 | // Register the service the package provides. |
| 66 | - $this->app->singleton('maileclipse', function ($app) { |
|
| 66 | + $this->app->singleton('maileclipse', function($app) { |
|
| 67 | 67 | return new MailEclipse; |
| 68 | 68 | }); |
| 69 | 69 | } |