Completed
Push — master ( 653d49...d07665 )
by Nicolas
04:10
created
src/Commands/ModelCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     private function handleOptionalMigrationOption()
73 73
     {
74 74
         if ($this->option('migration') === true) {
75
-            $migrationName = 'create_' . strtolower($this->argument('model')) . '_table';
75
+            $migrationName = 'create_'.strtolower($this->argument('model')).'_table';
76 76
             $this->call('module:make-migration', ['name' => $migrationName, 'module' => $this->argument('module')]);
77 77
         }
78 78
     }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
         $seederPath = $this->laravel['modules']->config('paths.generator.model');
107 107
 
108
-        return $path . $seederPath . '/' . $this->getModelName() . '.php';
108
+        return $path.$seederPath.'/'.$this->getModelName().'.php';
109 109
     }
110 110
 
111 111
     /**
Please login to merge, or discard this patch.
src/helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! function_exists('module_path')) {
3
+if (!function_exists('module_path')) {
4 4
     function module_path($name)
5 5
     {
6 6
         $module = app('modules')->find($name);
Please login to merge, or discard this patch.