@@ -71,9 +71,9 @@ discard block |
||
| 71 | 71 | */ |
| 72 | 72 | public function getPath() |
| 73 | 73 | { |
| 74 | - $path = static::getBasePath() . $this->path; |
|
| 74 | + $path = static::getBasePath().$this->path; |
|
| 75 | 75 | |
| 76 | - return file_exists($path) ? $path : __DIR__ . '/../Commands/stubs' . $this->path; |
|
| 76 | + return file_exists($path) ? $path : __DIR__.'/../Commands/stubs'.$this->path; |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | /** |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | $contents = file_get_contents($this->getPath()); |
| 107 | 107 | |
| 108 | 108 | foreach ($this->replaces as $search => $replace) { |
| 109 | - $contents = str_replace('$' . strtoupper($search) . '$', $replace, $contents); |
|
| 109 | + $contents = str_replace('$'.strtoupper($search).'$', $replace, $contents); |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | return $contents; |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | */ |
| 133 | 133 | public function saveTo($path, $filename) |
| 134 | 134 | { |
| 135 | - return file_put_contents($path . '/' . $filename, $this->getContents()); |
|
| 135 | + return file_put_contents($path.'/'.$filename, $this->getContents()); |
|
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | /** |