Skip to content
This repository was archived by the owner on Jul 12, 2020. It is now read-only.

Commit 18ffa52

Browse files
committed
[GH-29] Housekeeping, add docblocks
1 parent d82c4ba commit 18ffa52

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/main/QafooLabs/Refactoring/Adapters/PHPParser/Visitor/PhpNameCollector.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,22 @@
2222
use PHPParser_Node_Expr_New;
2323
use PHPParser_Node_Expr_StaticCall;
2424

25+
/**
26+
* Visitor for PHP Parser collecting PHP Names from an AST.
27+
*/
2528
class PhpNameCollector extends \PHPParser_NodeVisitorAbstract
2629
{
2730
/**
2831
* @var array
2932
*/
3033
private $nameDeclarations = array();
34+
/**
35+
* @var array
36+
*/
3137
private $useStatements = array();
38+
/**
39+
* @var string
40+
*/
3241
private $currentNamespace;
3342

3443
public function enterNode(PHPParser_Node $node)

0 commit comments

Comments
 (0)