Fix a typo in NodeDumper for REQUIRE_ONCE (#367)

This commit is contained in:
Tyson Andre 2017-03-17 03:35:48 -07:00 committed by Nikita Popov
parent 9d680b24f0
commit b5935a4aff
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ class NodeDumper
Include_::TYPE_INCLUDE => 'TYPE_INCLUDE', Include_::TYPE_INCLUDE => 'TYPE_INCLUDE',
Include_::TYPE_INCLUDE_ONCE => 'TYPE_INCLUDE_ONCE', Include_::TYPE_INCLUDE_ONCE => 'TYPE_INCLUDE_ONCE',
Include_::TYPE_REQUIRE => 'TYPE_REQUIRE', Include_::TYPE_REQUIRE => 'TYPE_REQUIRE',
Include_::TYPE_REQUIRE_ONCE => 'TYPE_REQURE_ONCE', Include_::TYPE_REQUIRE_ONCE => 'TYPE_REQUIRE_ONCE',
]; ];
if (!isset($map[$type])) { if (!isset($map[$type])) {

View File

@ -37,7 +37,7 @@ array(
expr: Scalar_String( expr: Scalar_String(
value: A.php value: A.php
) )
type: TYPE_REQURE_ONCE (4) type: TYPE_REQUIRE_ONCE (4)
) )
) )
4: Stmt_Expression( 4: Stmt_Expression(