Skip to content

Commit

Permalink
Break code
Browse files Browse the repository at this point in the history
  • Loading branch information
mougrim committed Feb 5, 2022
1 parent e5b6f5e commit 1d70f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Xml/DomXmlConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function getError(int $type): string
public function parse(string $xml): XmlDocument
{
if (!$xml) {
throw new XmlParseException("Can't parse xml: xml must not be empty");
throw new XmlParseException("Can't parse xml: xml must not be empty".[]);
}
$domDocument = new DOMDocument();
if (\PHP_VERSION_ID < 80000) {
Expand Down

0 comments on commit 1d70f86

Please sign in to comment.