mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-30 04:29:15 +01:00
Fix PHPDoc type of namespacedName properties
This commit is contained in:
parent
210577fe3c
commit
f4b835f7d8
@ -11,7 +11,7 @@ class Const_ extends NodeAbstract
|
|||||||
/** @var Expr Value */
|
/** @var Expr Value */
|
||||||
public $value;
|
public $value;
|
||||||
|
|
||||||
/** @var Name Namespaced name (if using NameResolver) */
|
/** @var Name|null Namespaced name (if using NameResolver) */
|
||||||
public $namespacedName;
|
public $namespacedName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -30,7 +30,7 @@ class Const_ extends NodeAbstract
|
|||||||
public function getSubNodeNames() : array {
|
public function getSubNodeNames() : array {
|
||||||
return ['name', 'value'];
|
return ['name', 'value'];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getType() : string {
|
public function getType() : string {
|
||||||
return 'Const';
|
return 'Const';
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ abstract class ClassLike extends Node\Stmt
|
|||||||
/** @var Node\AttributeGroup[] PHP attribute groups */
|
/** @var Node\AttributeGroup[] PHP attribute groups */
|
||||||
public $attrGroups;
|
public $attrGroups;
|
||||||
|
|
||||||
/** @var Node\Name Namespaced name (if using NameResolver) */
|
/** @var Node\Name|null Namespaced name (if using NameResolver) */
|
||||||
public $namespacedName;
|
public $namespacedName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -20,7 +20,7 @@ class Function_ extends Node\Stmt implements FunctionLike
|
|||||||
/** @var Node\AttributeGroup[] PHP attribute groups */
|
/** @var Node\AttributeGroup[] PHP attribute groups */
|
||||||
public $attrGroups;
|
public $attrGroups;
|
||||||
|
|
||||||
/** @var Node\Name Namespaced name (if using NameResolver) */
|
/** @var Node\Name|null Namespaced name (if using NameResolver) */
|
||||||
public $namespacedName;
|
public $namespacedName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user