diff --git a/lib/PhpParser/Node/Name.php b/lib/PhpParser/Node/Name.php index cc0aece..d3d33ea 100644 --- a/lib/PhpParser/Node/Name.php +++ b/lib/PhpParser/Node/Name.php @@ -6,7 +6,10 @@ use PhpParser\NodeAbstract; class Name extends NodeAbstract { - /** @var string[] Parts of the name */ + /** + * @var string[] Parts of the name + * @deprecated Avoid directly accessing $parts, use methods instead. + */ public $parts; /**