Add missing props to TreeAnalyzer, remove unused getUri
parent
d4cabc60cc
commit
70cf60e868
|
@ -23,6 +23,15 @@ class TreeAnalyzer
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $content;
|
private $content;
|
||||||
|
|
||||||
|
/** @var Node[] */
|
||||||
|
private $referenceNodes;
|
||||||
|
|
||||||
|
/** @var Definition[] */
|
||||||
|
private $definitions;
|
||||||
|
|
||||||
|
/** @var Node[] */
|
||||||
|
private $definitionNodes;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TreeAnalyzer constructor.
|
* TreeAnalyzer constructor.
|
||||||
* @param PhpParser\Parser $parser
|
* @param PhpParser\Parser $parser
|
||||||
|
@ -33,7 +42,6 @@ class TreeAnalyzer
|
||||||
*/
|
*/
|
||||||
public function __construct($parser, $content, $docBlockFactory, $definitionResolver, $uri)
|
public function __construct($parser, $content, $docBlockFactory, $definitionResolver, $uri)
|
||||||
{
|
{
|
||||||
$this->uri = $uri;
|
|
||||||
$this->parser = $parser;
|
$this->parser = $parser;
|
||||||
$this->docBlockFactory = $docBlockFactory;
|
$this->docBlockFactory = $docBlockFactory;
|
||||||
$this->definitionResolver = $definitionResolver;
|
$this->definitionResolver = $definitionResolver;
|
||||||
|
@ -179,13 +187,4 @@ class TreeAnalyzer
|
||||||
{
|
{
|
||||||
return $this->stmts;
|
return $this->stmts;
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* Returns the URI of the document
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function getUri(): string
|
|
||||||
{
|
|
||||||
return $this->uri;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue