1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-30 04:19:30 +01:00

Mark Name::$parts as deprecated

This commit is contained in:
Nikita Popov 2016-10-22 17:05:00 +02:00
parent fa7357b483
commit c0f0edf044

View File

@ -6,7 +6,10 @@ use PhpParser\NodeAbstract;
class Name extends 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; public $parts;
/** /**