summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsmir Mustafic <[email protected]>2014-06-06 09:33:19 +0200
committerAsmir Mustafic <[email protected]>2014-06-06 09:33:19 +0200
commit367a5ac27263ede4b731d0fadbf9059689195fb2 (patch)
treedf6dee2dbe35f4287fdc095420a2bfc9fecc31e8
parente56291d00e9ccf1d2bc2f0274fcbcdc6b7af0516 (diff)
Wrong param name on loadHTMLFile method
-rw-r--r--src/HTML5.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HTML5.php b/src/HTML5.php
index 2ec6fc9..4515884 100644
--- a/src/HTML5.php
+++ b/src/HTML5.php
@@ -99,8 +99,8 @@ class HTML5
* A DOM document. These object type is defined by the libxml
* library, and should have been included with your version of PHP.
*/
- public function loadHTMLFile($string) {
- return $this->load($string);
+ public function loadHTMLFile($file) {
+ return $this->load($file);
}
/**
* Parse a HTML fragment from a string.