mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-26 11:54:52 +01:00
make Namespace_ builder return Namespace_
Hi, just a little detail. This should fix invalid return type of docs
This commit is contained in:
parent
e3471d94d3
commit
3b87eb721c
@ -37,7 +37,7 @@ class Namespace_ extends Declaration
|
||||
/**
|
||||
* Returns the built node.
|
||||
*
|
||||
* @return Node The built node
|
||||
* @return Stmt\Namespace_ The built node
|
||||
*/
|
||||
public function getNode() : Node {
|
||||
return new Stmt\Namespace_($this->name, $this->stmts, $this->attributes);
|
||||
|
Loading…
Reference in New Issue
Block a user