@@ -21,7 +21,7 @@ |
||
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 | } |
@@ -80,7 +80,7 @@ discard block |
||
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 |
||
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 | ); |