@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | protected function getTemplateContents() |
54 | 54 | { |
55 | - return (new Stub('/component-view.stub',['QUOTE'=> Inspiring::quote()]))->render(); |
|
55 | + return (new Stub('/component-view.stub', ['QUOTE'=> Inspiring::quote()]))->render(); |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | { |
63 | 63 | $path = $this->laravel['modules']->getModulePath($this->getModuleName()); |
64 | 64 | $factoryPath = GenerateConfigReader::read('component-view'); |
65 | - return $path . $factoryPath->getPath() . '/' . $this->getFileName(); |
|
65 | + return $path.$factoryPath->getPath().'/'.$this->getFileName(); |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | /** |
@@ -70,6 +70,6 @@ discard block |
||
70 | 70 | */ |
71 | 71 | private function getFileName() |
72 | 72 | { |
73 | - return Str::lower($this->argument('name')) . '.blade.php'; |
|
73 | + return Str::lower($this->argument('name')).'.blade.php'; |
|
74 | 74 | } |
75 | 75 | } |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | */ |
51 | 51 | protected function writeComponentViewTemplate() |
52 | 52 | { |
53 | - $this->call('module:make-component-view', ['name' => $this->argument('name') , 'module' => $this->argument('module')]); |
|
53 | + $this->call('module:make-component-view', ['name' => $this->argument('name'), 'module' => $this->argument('module')]); |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | { |
96 | 96 | $path = $this->laravel['modules']->getModulePath($this->getModuleName()); |
97 | 97 | $factoryPath = GenerateConfigReader::read('component-class'); |
98 | - return $path . $factoryPath->getPath() . '/' . $this->getFileName(); |
|
98 | + return $path.$factoryPath->getPath().'/'.$this->getFileName(); |
|
99 | 99 | } |
100 | 100 | |
101 | 101 | /** |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | */ |
104 | 104 | private function getFileName() |
105 | 105 | { |
106 | - return Str::studly($this->argument('name')) . '.php'; |
|
106 | + return Str::studly($this->argument('name')).'.php'; |
|
107 | 107 | } |
108 | 108 | |
109 | 109 | } |