@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | $right = $left; |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - $this->style = trim($left . 'VARIABLE_NAME' . $right); |
|
| 64 | + $this->style = trim($left.'VARIABLE_NAME'.$right); |
|
| 65 | 65 | |
| 66 | 66 | return $this; |
| 67 | 67 | } |
@@ -110,9 +110,9 @@ discard block |
||
| 110 | 110 | */ |
| 111 | 111 | public function getPath() |
| 112 | 112 | { |
| 113 | - $path = static::getBasePath() . $this->path; |
|
| 113 | + $path = static::getBasePath().$this->path; |
|
| 114 | 114 | |
| 115 | - return file_exists($path) ? $path : __DIR__ . '/../Commands/stubs' . $this->path; |
|
| 115 | + return file_exists($path) ? $path : __DIR__.'/../Commands/stubs'.$this->path; |
|
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | /** |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | */ |
| 173 | 173 | public function saveTo($path, $filename) |
| 174 | 174 | { |
| 175 | - return file_put_contents($path . '/' . $filename, $this->getContents()); |
|
| 175 | + return file_put_contents($path.'/'.$filename, $this->getContents()); |
|
| 176 | 176 | } |
| 177 | 177 | |
| 178 | 178 | /** |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | 'stubs' => [ |
| 29 | 29 | 'enabled' => false, |
| 30 | 30 | 'style' => '$VARIABLE_NAME$', |
| 31 | - 'path' => base_path() . '/vendor/nwidart/laravel-modules/src/Commands/stubs', |
|
| 31 | + 'path' => base_path().'/vendor/nwidart/laravel-modules/src/Commands/stubs', |
|
| 32 | 32 | 'files' => [ |
| 33 | 33 | 'routes/web' => 'Routes/web.php', |
| 34 | 34 | 'routes/api' => 'Routes/api.php', |