Skip to content

Commit ea9f858

Browse files
authored
Upgrade the minimum php version to 8.0 for utils.
1 parent d2e9291 commit ea9f858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Server/Request/XmlParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class XmlParser implements RequestParserInterface
2323
public function parse(string $rawBody, string $contentType): array
2424
{
2525
try {
26-
return Xml::toArray($rawBody) ?? [];
26+
return Xml::toArray($rawBody);
2727
} catch (InvalidArgumentException $e) {
2828
if ($this->throwException) {
2929
throw new BadRequestHttpException('Invalid XML data in request body: ' . $e->getMessage());

0 commit comments

Comments
 (0)