diff --git a/lib/PhpParser/Node/PropertyItem.php b/lib/PhpParser/Node/PropertyItem.php index 62ad5aa70a..101611e6bc 100644 --- a/lib/PhpParser/Node/PropertyItem.php +++ b/lib/PhpParser/Node/PropertyItem.php @@ -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 */ diff --git a/lib/PhpParser/Node/UseItem.php b/lib/PhpParser/Node/UseItem.php index 40ecb9ced8..a7d9fc447c 100644 --- a/lib/PhpParser/Node/UseItem.php +++ b/lib/PhpParser/Node/UseItem.php @@ -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 */