From 3b87eb721c07393924332d64fa0e2ed707cd5320 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Tue, 29 Dec 2020 23:52:09 +0100 Subject: [PATCH] make Namespace_ builder return Namespace_ Hi, just a little detail. This should fix invalid return type of docs --- lib/PhpParser/Builder/Namespace_.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PhpParser/Builder/Namespace_.php b/lib/PhpParser/Builder/Namespace_.php index b9ccab3..1c751e1 100644 --- a/lib/PhpParser/Builder/Namespace_.php +++ b/lib/PhpParser/Builder/Namespace_.php @@ -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);