From 45f1d058c548d7ae147ffde9e8967909f3a65af5 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 25 Oct 2016 17:15:38 +0800 Subject: [PATCH] CodeDoc/Data/Method.php --- CodeDoc/Data/Method.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CodeDoc/Data/Method.php b/CodeDoc/Data/Method.php index 19b51cb..a5aee45 100644 --- a/CodeDoc/Data/Method.php +++ b/CodeDoc/Data/Method.php @@ -108,7 +108,7 @@ class PHP_CodeDoc_Data_Method extends PHP_CodeDoc_Data { array( - 'name' => $this->name == '__construct' ? ('new ' . $this->class) : $this->name, + 'name' => $this->name, 'purpose' => $this->description->short, 'stype' => 'function', '|xns' => 'Roo.doc', @@ -116,7 +116,7 @@ class PHP_CodeDoc_Data_Method extends PHP_CodeDoc_Data { 'isConstructor' => $this->name == '__construct' , 'items' => array( array( - 'name' => $this->name == '__construct' ? ('new ' . $this->class) : $this->name, + 'name' => $this->name, 'is_static' => $this->isStatic ? true:false, 'memberof' => $this->class, 'returndesc' => $this->name == '_construct' ? '' : $this->description->return->desc, -- 2.39.2