From 7d1f4480ee03678c8112e22c3dce0a5d96dcaa7a Mon Sep 17 00:00:00 2001 From: d-r-p Date: Mon, 11 Jun 2018 21:09:00 +0000 Subject: [PATCH] ISLANDORA-2248: Prevent PHP Strict standards issue Update signature of `_XMLDocument::loadHTMLFile()` to account for optional `$options` argument introduced in PHP 5.4. --- xml/XMLDocument.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/XMLDocument.inc b/xml/XMLDocument.inc index ad16614..3162833 100644 --- a/xml/XMLDocument.inc +++ b/xml/XMLDocument.inc @@ -226,7 +226,7 @@ class _XMLDocument extends DOMDocument { /** * Removed function. */ - public function loadHTMLFile($filename) { + public function loadHTMLFile($filename, $options = NULL) { throw new Exception(__FUNCTION__ . ' is not supported.'); }