@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function __construct(File $file_dispatch) |
| 29 | 29 | { |
| 30 | - $this->stubs_dir = __DIR__.'/'; |
|
| 30 | + $this->stubs_dir = __DIR__ . '/'; |
|
| 31 | 31 | $this->file_dispatch = $file_dispatch; |
| 32 | 32 | } |
| 33 | 33 | |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | */ |
| 42 | 42 | public function get($stub) |
| 43 | 43 | { |
| 44 | - $file = $this->stubs_dir.$stub.'.stub'; |
|
| 44 | + $file = $this->stubs_dir . $stub . '.stub'; |
|
| 45 | 45 | |
| 46 | 46 | if (false === $this->file_dispatch->exists($file)) { |
| 47 | 47 | throw new InvalidArgumentException( |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | public function hydrate($contents, array $data) |
| 65 | 65 | { |
| 66 | 66 | foreach ($data as $key => $value) { |
| 67 | - $contents = str_replace('%'.$key.'%', $value, $contents); |
|
| 67 | + $contents = str_replace('%' . $key . '%', $value, $contents); |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | return $contents; |
@@ -158,7 +158,7 @@ |
||
| 158 | 158 | |
| 159 | 159 | $class = $dont_affix_type === true |
| 160 | 160 | ? $name |
| 161 | - : $name.$uc_type; |
|
| 161 | + : $name . $uc_type; |
|
| 162 | 162 | |
| 163 | 163 | if (true === $output->isVerbose()) { |
| 164 | 164 | $output->writeln("<comment> Namespace -> {$this->namespace}</comment>"); |