Completed
Push — master ( 9a32a7...c0ece2 )
by
unknown
14s queued 10s
created
src/Http/Controllers/MailablesController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 {
Please login to merge, or discard this patch.
src/MailEclipseServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.