@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | /** |
| 88 | 88 | * @var string $generatorName |
| 89 | 89 | */ |
| 90 | - $this->generatorName = (string)$generatorName; |
|
| 90 | + $this->generatorName = (string) $generatorName; |
|
| 91 | 91 | |
| 92 | 92 | $this->loadParser(); |
| 93 | 93 | if ($name === '*' || $name === 'all') { |
@@ -182,8 +182,8 @@ discard block |
||
| 182 | 182 | $writtenFiles = $this->writeFiles( |
| 183 | 183 | $collection, |
| 184 | 184 | $basepath, |
| 185 | - function (GeneratedItem $i) { |
|
| 186 | - if ((bool)$this->option('overwrite') === true) { |
|
| 185 | + function(GeneratedItem $i) { |
|
| 186 | + if ((bool) $this->option('overwrite') === true) { |
|
| 187 | 187 | return true; |
| 188 | 188 | } |
| 189 | 189 | return false; |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | // this runs all prettier commands in parallel. |
| 204 | 204 | $run = array_reduce( |
| 205 | 205 | $writtenFiles, |
| 206 | - function ($carry, $f) use ($command) { |
|
| 206 | + function($carry, $f) use ($command) { |
|
| 207 | 207 | return $carry . '(' . $command . $f . ') & '; |
| 208 | 208 | } |
| 209 | 209 | ); |
@@ -222,7 +222,7 @@ discard block |
||
| 222 | 222 | // this runs all prettier commands in parallel. |
| 223 | 223 | $run = array_reduce( |
| 224 | 224 | $writtenFiles, |
| 225 | - function ($carry, $f) use ($command) { |
|
| 225 | + function($carry, $f) use ($command) { |
|
| 226 | 226 | return $carry . '(' . $command . $f . ') & '; |
| 227 | 227 | } |
| 228 | 228 | ); |