Passed
Push — master ( 2ea954...61c745 )
by Bruno
08:20 queued 02:39
created
LaravelEloquent/DatatypeGenerator/DatatypeGenerator_relationship.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
             ($field->getValidatorOption(Datatype::REQUIRED, 'value', false) ? '' : '->nullable()');
22 22
         // $index = '' $field->getRenderable('index')....
23 23
         return [
24
-          $id
24
+            $id
25 25
         ];
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
CodeGenerator/GraphQL/DatatypeGenerator/DatatypeGenerator_relationship.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
                 $graphqlQuery = array_merge(
81 81
                     $graphqlQuery,
82 82
                     $formulariumModel->mapFields(
83
-                        function (Field $f) use ($recurseLevel) {
83
+                        function(Field $f) use ($recurseLevel) {
84 84
                             $type = $f->getDatatype();
85 85
                             if ($type instanceof Datatype_relationship && !$type->getIsInverse()) {
86 86
                                 return '';
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
              */
98 98
             $formulariumModel = call_user_func("$model::getFormularium"); /** @phpstan-ignore-line */
99 99
             $graphqlQuery = $formulariumModel->mapFields(
100
-                function (Field $f) use ($recurseLevel) {
100
+                function(Field $f) use ($recurseLevel) {
101 101
                     return \Modelarium\Frontend\Util::fieldShow($f) ? /* $f->toGraphqlQuery([self::RECURSE => $recurseLevel-1]) */ 'zzz' : null;
102 102
                 }
103 103
             );
Please login to merge, or discard this patch.