From 1d70f8651594b46ee086a3f95e9475bdf78afe9f Mon Sep 17 00:00:00 2001 From: Mougrim Date: Sat, 5 Feb 2022 23:20:34 +0300 Subject: [PATCH] Break code --- src/Xml/DomXmlConverter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Xml/DomXmlConverter.php b/src/Xml/DomXmlConverter.php index b7f8ad3..18f9cfb 100644 --- a/src/Xml/DomXmlConverter.php +++ b/src/Xml/DomXmlConverter.php @@ -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) {