@@ -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 | |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | */ |
44 | 44 | public function get($stub) |
45 | 45 | { |
46 | - $file = $this->stubs_dir . $stub . '.stub'; |
|
46 | + $file = $this->stubs_dir.$stub.'.stub'; |
|
47 | 47 | |
48 | 48 | if (false === $this->file_dispatch->exists($file)) { |
49 | 49 | throw new InvalidArgumentException( |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | public function hydrate($contents, array $data) |
67 | 67 | { |
68 | 68 | foreach ($data as $key => $value) { |
69 | - $contents = str_replace('%' . $key . '%', $value, $contents); |
|
69 | + $contents = str_replace('%'.$key.'%', $value, $contents); |
|
70 | 70 | } |
71 | 71 | |
72 | 72 | return $contents; |
@@ -179,7 +179,7 @@ |
||
179 | 179 | |
180 | 180 | $class = $dont_affix_type === true |
181 | 181 | ? $name |
182 | - : $name . $uc_type; |
|
182 | + : $name.$uc_type; |
|
183 | 183 | |
184 | 184 | if (true === $output->isVerbose()) { |
185 | 185 | $output->writeln("<comment> Namespace -> {$this->namespace}</comment>"); |