@@ -72,7 +72,7 @@ discard block |
||
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 |
||
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 | /** |
@@ -1,6 +1,6 @@ |
||
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); |