Skip to content

Commit 4d2079c

Browse files
style: run prettier on changed files
1 parent 8f716fc commit 4d2079c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Schemas/GraphQLSchema.inc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,7 @@ class GraphQLSchema extends Schema {
218218
if ($model->$field instanceof NestedModelField) {
219219
if ($input) {
220220
$nested_model_type = $this->get_model_input_object_type($model->$field->model_class);
221-
}
222-
else {
221+
} else {
223222
$nested_model_type = $this->get_model_object_type($model->$field->model_class);
224223
}
225224
$fields[$field]['type'] = $this->field_to_type(field: $model->$field, type: $nested_model_type);

0 commit comments

Comments
 (0)