Passed
Push — master ( b3d1c8...051467 )
by Bruno
07:53
created
Modelarium/Frontend/FrontendGenerator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     protected function buildHelpers(): void
92 92
     {
93 93
         $this->cardFields = $this->model->filterField(
94
-            function (Field $field) {
94
+            function(Field $field) {
95 95
                 return $field->getRenderable('card', false);
96 96
             }
97 97
         );
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     protected function makeGraphql(): void
152 152
     {
153 153
         $cardFieldNames = array_map(
154
-            function (Field $field) {
154
+            function(Field $field) {
155 155
                 return $field->getName();
156 156
             },
157 157
             $this->cardFields
@@ -231,14 +231,14 @@  discard block
 block discarded – undo
231 231
         ];
232 232
 
233 233
         $import = array_map(
234
-            function ($i) use ($name) {
234
+            function($i) use ($name) {
235 235
                 return "import {$name}$i from './{$name}$i.vue';";
236 236
             },
237 237
             $items
238 238
         );
239 239
 
240 240
         $export = array_map(
241
-            function ($i) use ($name) {
241
+            function($i) use ($name) {
242 242
                 return "    {$name}$i,\n";
243 243
             },
244 244
             $items
Please login to merge, or discard this patch.