Passed
Push — master ( 61c745...da8729 )
by Bruno
07:15 queued 03:43
created
CodeGenerator/GraphQL/DatatypeGenerator/DatatypeGenerator_relationship.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
                 $graphqlQuery = array_merge(
82 82
                     $graphqlQuery,
83 83
                     $formulariumModel->mapFields(
84
-                        function (Field $f) { // use ($recurseLevel) {
84
+                        function(Field $f) { // use ($recurseLevel) {
85 85
                             $type = $f->getDatatype();
86 86
                             if ($type instanceof Datatype_relationship && !$type->getIsInverse()) {
87 87
                                 return '';
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
              */
99 99
             $formulariumModel = call_user_func("$model::getFormularium"); /** @phpstan-ignore-line */
100 100
             $graphqlQuery = $formulariumModel->mapFields(
101
-                function (Field $f) { // use ($recurseLevel) {
101
+                function(Field $f) { // use ($recurseLevel) {
102 102
                     return \Modelarium\Frontend\Util::fieldShow($f) ? /* $f->toGraphqlQuery([self::RECURSE => $recurseLevel-1]) */ 'zzz' : null;
103 103
                 }
104 104
             );
Please login to merge, or discard this patch.