1
0
Fork 0

Add missing props to TreeAnalyzer, remove unused getUri

pull/357/head
Rob Lourens 2017-06-07 11:37:04 -07:00
parent d4cabc60cc
commit 70cf60e868
1 changed files with 9 additions and 10 deletions

View File

@ -23,6 +23,15 @@ class TreeAnalyzer
/** @var string */
private $content;
/** @var Node[] */
private $referenceNodes;
/** @var Definition[] */
private $definitions;
/** @var Node[] */
private $definitionNodes;
/**
* TreeAnalyzer constructor.
* @param PhpParser\Parser $parser
@ -33,7 +42,6 @@ class TreeAnalyzer
*/
public function __construct($parser, $content, $docBlockFactory, $definitionResolver, $uri)
{
$this->uri = $uri;
$this->parser = $parser;
$this->docBlockFactory = $docBlockFactory;
$this->definitionResolver = $definitionResolver;
@ -179,13 +187,4 @@ class TreeAnalyzer
{
return $this->stmts;
}
/**
* Returns the URI of the document
*
* @return string
*/
public function getUri(): string
{
return $this->uri;
}
}