@@ -156,11 +156,11 @@ discard block |
||
| 156 | 156 | $writtenFiles = $this->writeFiles( |
| 157 | 157 | $collection, |
| 158 | 158 | $basepath, |
| 159 | - function (GeneratedItem $i) use ($match) { |
|
| 160 | - if ((bool)$this->option('overwrite') === true) { |
|
| 159 | + function(GeneratedItem $i) use ($match) { |
|
| 160 | + if ((bool) $this->option('overwrite') === true) { |
|
| 161 | 161 | return true; |
| 162 | 162 | } |
| 163 | - if ((bool)$this->option('overwrite-graphql') === true) { |
|
| 163 | + if ((bool) $this->option('overwrite-graphql') === true) { |
|
| 164 | 164 | if ( |
| 165 | 165 | StringUtil::endsWith($i->filename, '.graphql') |
| 166 | 166 | ) { |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | // this runs all prettier commands in parallel. |
| 190 | 190 | $run = array_reduce( |
| 191 | 191 | $writtenFiles, |
| 192 | - function ($carry, $f) use ($command) { |
|
| 192 | + function($carry, $f) use ($command) { |
|
| 193 | 193 | return $carry . '(' . $command . $f . ') & '; |
| 194 | 194 | } |
| 195 | 195 | ); |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | // this runs all prettier commands in parallel. |
| 209 | 209 | $run = array_reduce( |
| 210 | 210 | $writtenFiles, |
| 211 | - function ($carry, $f) use ($command) { |
|
| 211 | + function($carry, $f) use ($command) { |
|
| 212 | 212 | return $carry . '(' . $command . $f . ') & '; |
| 213 | 213 | } |
| 214 | 214 | ); |