Completed
Push — master ( e68e1b...ad1ebc )
by Sergi Tur
08:17
created
src/Console/CreatesModels.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
      */
15 15
     public function createModel($name)
16 16
     {
17
-        passthru('php artisan make:model -m ' . snake_case($name));
17
+        passthru('php artisan make:model -m '.snake_case($name));
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
src/Console/MakeV.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function handle()
39 39
     {
40
-        $this->info('Running command ' . $command = $this->command());
40
+        $this->info('Running command '.$command = $this->command());
41 41
         passthru($command);
42 42
     }
43 43
 
@@ -47,11 +47,11 @@  discard block
 block discarded – undo
47 47
      * @return string
48 48
      */
49 49
     protected function command() {
50
-        $api = $this->option('api') ? ' --api '  : '';
51
-        $action = $this->argument('action') ? ' ' . $this->argument('action') . ' ' : '';
52
-        return 'php artisan make:route ' . $this->argument('link') . $action . ' --type=' . $this->option('type') .
53
-            ' --method=' . $this->option('method') .
54
-            $api .
50
+        $api = $this->option('api') ? ' --api ' : '';
51
+        $action = $this->argument('action') ? ' '.$this->argument('action').' ' : '';
52
+        return 'php artisan make:route '.$this->argument('link').$action.' --type='.$this->option('type').
53
+            ' --method='.$this->option('method').
54
+            $api.
55 55
             ' -a --menu';
56 56
     }
57 57
 }
Please login to merge, or discard this patch.
src/Providers/AdminLTETemplateServiceProvider.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -26,24 +26,24 @@  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]);
37
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTEMenu::class]);
38
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTEMenuAlt::class]);
39
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeRoute::class]);
40
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeMenu::class]);
41
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeV::class]);
42
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeVC::class]);
43
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeMVC::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
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTEMenu::class ]);
38
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTEMenuAlt::class ]);
39
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeRoute::class ]);
40
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeMenu::class ]);
41
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeV::class ]);
42
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeVC::class ]);
43
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeMVC::class ]);
44 44
         }
45 45
 
46
-        $this->app->bind('AdminLTE', function () {
46
+        $this->app->bind('AdminLTE', function() {
47 47
             return new \Acacha\AdminLTETemplateLaravel\AdminLTE();
48 48
         });
49 49
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         if (!$this->app->routesAreCached()) {
107 107
             $router = app('router');
108 108
 
109
-            $router->group(['namespace' => $this->getAppNamespace().'Http\Controllers'], function () {
109
+            $router->group([ 'namespace' => $this->getAppNamespace().'Http\Controllers' ], function() {
110 110
                 require __DIR__.'/../Http/routes.php';
111 111
             });
112 112
         }
Please login to merge, or discard this patch.