diff --git a/lib/PhpParser/NodeDumper.php b/lib/PhpParser/NodeDumper.php index c1e2674f..385e58a2 100644 --- a/lib/PhpParser/NodeDumper.php +++ b/lib/PhpParser/NodeDumper.php @@ -141,7 +141,7 @@ class NodeDumper Include_::TYPE_INCLUDE => 'TYPE_INCLUDE', Include_::TYPE_INCLUDE_ONCE => 'TYPE_INCLUDE_ONCE', Include_::TYPE_REQUIRE => 'TYPE_REQUIRE', - Include_::TYPE_REQUIRE_ONCE => 'TYPE_REQURE_ONCE', + Include_::TYPE_REQUIRE_ONCE => 'TYPE_REQUIRE_ONCE', ]; if (!isset($map[$type])) { diff --git a/test/code/parser/expr/includeAndEval.test b/test/code/parser/expr/includeAndEval.test index b6f8bc93..0ab18908 100644 --- a/test/code/parser/expr/includeAndEval.test +++ b/test/code/parser/expr/includeAndEval.test @@ -37,7 +37,7 @@ array( expr: Scalar_String( value: A.php ) - type: TYPE_REQURE_ONCE (4) + type: TYPE_REQUIRE_ONCE (4) ) ) 4: Stmt_Expression(