diff --git a/core/designdocument.class.inc.php b/core/designdocument.class.inc.php index 2befa6b8f..ab7028583 100644 --- a/core/designdocument.class.inc.php +++ b/core/designdocument.class.inc.php @@ -70,13 +70,7 @@ class DesignDocument extends DOMDocument $this->preserveWhiteSpace = true; // otherwise the formatOutput option would have no effect } - /** - * @param string $source - * @param int $options - * - * @return bool|\DOMDocument - */ - public function loadXML(string $source, int $options = 0): bool|DOMDocument + public function loadXML(string $source, int $options = 0): bool { return parent::loadXML($source, $options | LIBXML_BIGLINES); }