Completed
Push — master ( 24cdb0...b0d594 )
by Sergi Tur
04:28
created
src/Console/MakeVC.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/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.