Passed
Push — master ( d9bfc5...6bf22a )
by Bruno
03:04
created
Modelarium/Laravel/Console/Commands/ModelariumFrontendCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -156,11 +156,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             );
Please login to merge, or discard this patch.