fix deprecated warnings

fix call to MFException constr
This commit is contained in:
odain
2025-11-14 14:05:56 +01:00
parent 299c468eaa
commit 6d279647f1
2 changed files with 16 additions and 10 deletions

View File

@@ -70,7 +70,13 @@ class DesignDocument extends DOMDocument
$this->preserveWhiteSpace = true; // otherwise the formatOutput option would have no effect
}
public function loadXML(string $source, int $options = 0)
/**
* @param string $source
* @param int $options
*
* @return bool|\DOMDocument
*/
public function loadXML(string $source, int $options = 0): bool|DOMDocument
{
return parent::loadXML($source, $options | LIBXML_BIGLINES);
}