summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.