mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-27 04:24:43 +01:00
Fix a typo in NodeDumper for REQUIRE_ONCE (#367)
This commit is contained in:
parent
9d680b24f0
commit
b5935a4aff
@ -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])) {
|
||||||
|
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user