Skip to content

Commit

Permalink
Mark Name::$parts as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Oct 22, 2016
1 parent fa7357b commit c0f0edf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/PhpParser/Node/Name.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

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;

/**
Expand Down

0 comments on commit c0f0edf

Please sign in to comment.