summaryrefslogtreecommitdiff
path: root/test/HTML5/Parser/EventStack.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/HTML5/Parser/EventStack.php')
-rw-r--r--test/HTML5/Parser/EventStack.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/HTML5/Parser/EventStack.php b/test/HTML5/Parser/EventStack.php
index 6f5576e..213d893 100644
--- a/test/HTML5/Parser/EventStack.php
+++ b/test/HTML5/Parser/EventStack.php
@@ -1,6 +1,5 @@
<?php
namespace HTML5\Parser;
-require __DIR__ . '/../TestCase.php';
class EventStack implements EventHandler {
protected $stack;
@@ -27,7 +26,7 @@ class EventStack implements EventHandler {
);
}
- public function doctype($name, $publicId, $systemID, $quirks) {
+ public function doctype($name, $publicId, $systemID, $quirks = FALSE) {
$args = func_get_args();
$this->store('doctype', $args);
}