| @@ -76,10 +76,10 @@ | ||
| 76 | 76 | } | 
| 77 | 77 | |
| 78 | 78 | /** | 
| 79 | - * Get module type . | |
| 80 | - * | |
| 81 | - * @return string | |
| 82 | - */ | |
| 79 | + * Get module type . | |
| 80 | + * | |
| 81 | + * @return string | |
| 82 | + */ | |
| 83 | 83 | private function getModuleType() | 
| 84 | 84 |      { | 
| 85 | 85 |          $isPlain = $this->option('plain'); | 
| @@ -87,8 +87,7 @@ | ||
| 87 | 87 |                  config('modules.paths.modules'), | 
| 88 | 88 |                  config('modules.paths.generator.model.path') | 
| 89 | 89 | ); | 
| 90 | - } | |
| 91 | -        else { | |
| 90 | +        } else { | |
| 92 | 91 |              $path = sprintf('%s/{%s}/%s', | 
| 93 | 92 |                  config('modules.paths.modules'), | 
| 94 | 93 |                  collect($this->argument('module'))->implode(','), | 
| @@ -193,8 +193,7 @@ | ||
| 193 | 193 |          if (\File::exists($file)) { | 
| 194 | 194 | $lang = \File::getRequire($file); | 
| 195 | 195 | return collect(\Arr::dot($lang))->keys(); | 
| 196 | - } | |
| 197 | -        else { | |
| 196 | +        } else { | |
| 198 | 197 | return FALSE; | 
| 199 | 198 | } | 
| 200 | 199 | } | 
| @@ -38,15 +38,13 @@ | ||
| 38 | 38 |          $this->components->task("Seeding <fg=cyan;options=bold>{$module->getName()}</> Module", function () use ($module) { | 
| 39 | 39 |              try { | 
| 40 | 40 | $this->moduleSeed($module); | 
| 41 | - } | |
| 42 | -            catch (\Error $e) { | |
| 41 | +            } catch (\Error $e) { | |
| 43 | 42 | $e = new ErrorException($e->getMessage(), $e->getCode(), 1, $e->getFile(), $e->getLine(), $e); | 
| 44 | 43 | $this->reportException($e); | 
| 45 | 44 | $this->renderException($this->getOutput(), $e); | 
| 46 | 45 | |
| 47 | 46 | return FALSE; | 
| 48 | - } | |
| 49 | -            catch (\Exception $e) { | |
| 47 | +            } catch (\Exception $e) { | |
| 50 | 48 | $this->reportException($e); | 
| 51 | 49 | $this->renderException($this->getOutput(), $e); | 
| 52 | 50 | |