Skip to content

Commit c4a7442

Browse files
authored
Fix error for mop beta
1 parent cf675af commit c4a7442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/XmlFileParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ private function formatKeyValue(KeyValueDTO $keyValue): string
429429
{
430430
return match($keyValue->type) {
431431
KeyValueTypeEnum::STRING => json_encode($keyValue->value), // json_encode adds and properly escapes quotes
432-
KeyValueTypeEnum::NUMBER, KeyValueTypeEnum::BOOLEAN => $keyValue->value,
432+
KeyValueTypeEnum::NUMBER, KeyValueTypeEnum::INT, KeyValueTypeEnum::BOOLEAN => $keyValue->value,
433433
KeyValueTypeEnum::GLOBAL => $this->wrapInGIfNeeded($keyValue->value),
434434
KeyValueTypeEnum::NIL => 'nil',
435435
};

0 commit comments

Comments
 (0)