Completed
Push — master ( 21ddf1...1004bc )
by Sergi Tur
02:59
created
src/Console/CreatesModels.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
      * Create a model and migration using make:model command
14 14
      */
15 15
     public function createModel($name) {
16
-        passthru('php artisan make:model -m ' . snake_case($name));
16
+        passthru('php artisan make:model -m '.snake_case($name));
17 17
     }
18 18
 }
19 19
\ No newline at end of file
Please login to merge, or discard this patch.
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.