File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Fields Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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+ }
You can’t perform that action at this time.
0 commit comments