remove unneeded DOMDocument::loadXML flags
1 files changed, 1 insertions(+), 1 deletions(-) M src/XmlDocument.php
M src/XmlDocument.php => src/XmlDocument.php +1 -1
@@ 348,7 348,7 @@ class XmlDocument private static function loadStr($xmlStr, array $schemaFiles) { $domDocument = new DOMDocument(); $loadResult = @$domDocument->loadXML($xmlStr, \LIBXML_NONET | \LIBXML_DTDLOAD | \LIBXML_DTDATTR | \LIBXML_COMPACT); $loadResult = @$domDocument->loadXML($xmlStr, \LIBXML_NONET | \LIBXML_COMPACT); if (false === $loadResult) { throw new XmlDocumentException('unable to load XML document'); }