Skip to content

Commit ab1ceeb

Browse files
style: run prettier on changed files
1 parent 0d74bad commit ab1ceeb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Fields/ForeignModelField.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class ForeignModelField extends Field {
177177
if (!class_exists($model_name)) {
178178
throw new ServerError(
179179
message: "ForeignModelField's `model_name` property must be an existing Model class FQN, " .
180-
"received `$model_name`.",
180+
"received `$model_name`.",
181181
response_id: 'FOREIGN_MODEL_FIELD_WITH_UNKNOWN_MODEL_NAME',
182182
);
183183
}
@@ -278,7 +278,7 @@ class ForeignModelField extends Field {
278278
if (!$query_modelset->exists()) {
279279
throw new NotFoundError(
280280
message: "Field `$this->name` could not locate `$model_names` object with " .
281-
"`$this->model_field` set to `$value`",
281+
"`$this->model_field` set to `$value`",
282282
response_id: 'FOREIGN_MODEL_FIELD_VALUE_NOT_FOUND',
283283
);
284284
}
@@ -374,4 +374,4 @@ class ForeignModelField extends Field {
374374

375375
return $modelset;
376376
}
377-
}
377+
}

0 commit comments

Comments
 (0)