mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-17 07:08:14 +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;
|
namespace PhpParser\Node;
|
||||||
|
|
||||||
use PhpParser\Node;
|
use PhpParser\Node;
|
||||||
|
use PhpParser\NodeAbstract;
|
||||||
|
|
||||||
class PropertyItem extends Node\Stmt {
|
class PropertyItem extends NodeAbstract {
|
||||||
/** @var Node\VarLikeIdentifier Name */
|
/** @var Node\VarLikeIdentifier Name */
|
||||||
public VarLikeIdentifier $name;
|
public VarLikeIdentifier $name;
|
||||||
/** @var null|Node\Expr Default */
|
/** @var null|Node\Expr Default */
|
||||||
|
@ -3,9 +3,10 @@
|
|||||||
namespace PhpParser\Node;
|
namespace PhpParser\Node;
|
||||||
|
|
||||||
use PhpParser\Node;
|
use PhpParser\Node;
|
||||||
|
use PhpParser\NodeAbstract;
|
||||||
use PhpParser\Node\Stmt\Use_;
|
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
|
* @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