We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 065470c commit 5a42faeCopy full SHA for 5a42fae
Utils.php
@@ -16,7 +16,7 @@ public static function getFormatedXml($string, $asDomDocument = false)
16
{
17
$dom = null;
18
$formated = $string;
19
- if (!empty($string) && class_exists('DOMDocument')) {
+ if (!empty($string) && class_exists('\DOMDocument')) {
20
$dom = new \DOMDocument('1.0', 'UTF-8');
21
$dom->formatOutput = true;
22
$dom->preserveWhiteSpace = false;
0 commit comments