Completed
Push — master ( 45d696...4f8ab3 )
by Sergi Tur
02:36
created
src/Providers/AdminLTETemplateServiceProvider.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -26,17 +26,17 @@  discard block
 block discarded – undo
26 26
         }
27 27
 
28 28
         if ($this->app->runningInConsole()) {
29
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTE::class]);
30
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTEAlt::class]);
31
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebar::class]);
32
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebarAlt::class]);
33
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeAdminUserSeeder::class]);
34
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTEAdmin::class]);
35
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTEAdminAlt::class]);
36
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeView::class]);
29
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTE::class ]);
30
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTEAlt::class ]);
31
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebar::class ]);
32
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebarAlt::class ]);
33
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeAdminUserSeeder::class ]);
34
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTEAdmin::class ]);
35
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTEAdminAlt::class ]);
36
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeView::class ]);
37 37
         }
38 38
 
39
-        $this->app->bind('AdminLTE', function () {
39
+        $this->app->bind('AdminLTE', function() {
40 40
             return new \Acacha\AdminLTETemplateLaravel\AdminLTE();
41 41
         });
42 42
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         if (!$this->app->routesAreCached()) {
97 97
             $router = app('router');
98 98
 
99
-            $router->group(['namespace' => $this->getAppNamespace().'Http\Controllers'], function () {
99
+            $router->group([ 'namespace' => $this->getAppNamespace().'Http\Controllers' ], function() {
100 100
                 require __DIR__.'/../Http/routes.php';
101 101
             });
102 102
         }
Please login to merge, or discard this patch.
src/Console/MakeView.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -44,10 +44,10 @@  discard block
 block discarded – undo
44 44
     {
45 45
         try {
46 46
             $this->filesystem->overwrite(
47
-                $path = resource_path('views/' . $this->viewPath()),
47
+                $path = resource_path('views/'.$this->viewPath()),
48 48
                 $this->filesystem->get($this->getStubPath())
49 49
             );
50
-            $this->info('File ' . $path . ' created');
50
+            $this->info('File '.$path.' created');
51 51
         } catch (\Exception $e) {
52 52
             print_r($e->getMessage());
53 53
         }
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     protected function getStubPath()
60 60
     {
61
-        return __DIR__ . '/stubs/view.stub';
61
+        return __DIR__.'/stubs/view.stub';
62 62
     }
63 63
 
64 64
     /**
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * @return string
78 78
      */
79 79
     protected function constructViewBaldeName($name) {
80
-        return $this->dottedPathToSlahesPath($name) . '.blade.php';
80
+        return $this->dottedPathToSlahesPath($name).'.blade.php';
81 81
     }
82 82
 
83 83
     /**
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      * @return mixed
87 87
      */
88 88
     protected function dottedPathToSlahesPath($name) {
89
-        return str_replace(".", "/",$name);
89
+        return str_replace(".", "/", $name);
90 90
 
91 91
     }
92 92
 }
Please login to merge, or discard this patch.