@@ -65,7 +65,7 @@ |
||
65 | 65 | |
66 | 66 | $mailPath = $this->laravel['modules']->config('paths.generator.emails', 'Emails'); |
67 | 67 | |
68 | - return $path . $mailPath . '/' . $this->getFileName() . '.php'; |
|
68 | + return $path.$mailPath.'/'.$this->getFileName().'.php'; |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
@@ -123,14 +123,14 @@ |
||
123 | 123 | |
124 | 124 | // any JSON parsing errors should throw an exception |
125 | 125 | if (json_last_error() > 0) { |
126 | - throw new InvalidJsonException('Error processing file: ' . $this->getPath() . '. Error: ' . json_last_error_msg()); |
|
126 | + throw new InvalidJsonException('Error processing file: '.$this->getPath().'. Error: '.json_last_error_msg()); |
|
127 | 127 | } |
128 | 128 | |
129 | 129 | if (config('modules.cache.enabled') === false) { |
130 | 130 | return $attributes; |
131 | 131 | } |
132 | 132 | |
133 | - return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function () use ($attributes) { |
|
133 | + return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function() use ($attributes) { |
|
134 | 134 | return $attributes; |
135 | 135 | }); |
136 | 136 | } |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | foreach ($this->module->getOrdered($this->option('direction')) as $module) { |
50 | - $this->line('Running for module: <info>' . $module->getName() . '</info>'); |
|
50 | + $this->line('Running for module: <info>'.$module->getName().'</info>'); |
|
51 | 51 | |
52 | 52 | $this->migrate($module); |
53 | 53 | } |
@@ -64,8 +64,8 @@ discard block |
||
64 | 64 | { |
65 | 65 | $path = str_replace(base_path(), '', (new Migrator($module))->getPath()); |
66 | 66 | |
67 | - if($this->option('subpath')) { |
|
68 | - $path = $path . "/" . $this->option("subpath"); |
|
67 | + if ($this->option('subpath')) { |
|
68 | + $path = $path."/".$this->option("subpath"); |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | $this->call('migrate', [ |