Skip to content

Commit cf114b7

Browse files
fix: correct whitespace in IntegerField error
1 parent 1f12c1f commit cf114b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ class IntegerField extends Field {
142142

143143
# Otherwise, the internal value cannot be represented by this Field. Throw an error.
144144
throw new RESTAPI\Responses\ServerError(
145-
message: "Cannot parse IntegerField '$this->name' from internal because its internal value is not
146-
a numeric value. Consider changing this field to a StringField.",
145+
message: "Cannot parse IntegerField '$this->name' from internal because its internal value is not a " .
146+
"numeric value. Consider changing this field to a StringField.",
147147
response_id: 'INTEGER_FIELD_WITH_NON_INTEGER_INTERNAL_VALUE',
148148
);
149149
}

0 commit comments

Comments
 (0)