mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-16 22:58:15 +01:00
Fix parent class of PropertyItem and UseItem
This commit is contained in:
parent
255000ad49
commit
1eeeb2d525
@ -3,8 +3,9 @@
|
||||
namespace PhpParser\Node;
|
||||
|
||||
use PhpParser\Node;
|
||||
use PhpParser\NodeAbstract;
|
||||
|
||||
class PropertyItem extends Node\Stmt {
|
||||
class PropertyItem extends NodeAbstract {
|
||||
/** @var Node\VarLikeIdentifier Name */
|
||||
public VarLikeIdentifier $name;
|
||||
/** @var null|Node\Expr Default */
|
||||
|
@ -3,9 +3,10 @@
|
||||
namespace PhpParser\Node;
|
||||
|
||||
use PhpParser\Node;
|
||||
use PhpParser\NodeAbstract;
|
||||
use PhpParser\Node\Stmt\Use_;
|
||||
|
||||
class UseItem extends Node\Stmt {
|
||||
class UseItem extends NodeAbstract {
|
||||
/**
|
||||
* @var Use_::TYPE_* One of the Stmt\Use_::TYPE_* constants. Will only differ from TYPE_UNKNOWN for mixed group uses
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user