Bug #66644 [Opn]: Remove ()'s when rendering methodname in constructorsynopsis/destructorsynopsis

From: Date: Thu, 16 Apr 2015 18:37:09 +0000
Subject: Bug #66644 [Opn]: Remove ()'s when rendering methodname in constructorsynopsis/destructorsynopsis
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12181@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66644&edit=1 ID: 66644 Updated by: cmb@php.net Reported by: salathe@php.net Summary: Remove ()'s when rendering methodname in constructorsynopsis/destructorsynopsis Status: Open Type: Bug Package: Doc Build problem PHP Version: Irrelevant -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: This issue appears to have been fixed in the meantime. Can you confirm, Peter? Previous Comments: ------------------------------------------------------------------------ [2014-02-04 21:21:13] salathe@php.net [Update summary] ------------------------------------------------------------------------ [2014-02-04 21:15:04] salathe@php.net Description: ------------ Bug #51750 (Add ()'s when rendering methodname elements) was fixed back in 2010 (thanks bjori!). The fix involved adding parentheses after methodname, when they occur outside of methodsysnopsis. Unfortunately, this applies the parentheses inside constructorsynopsis/destructorsynopsis elements, resulting in exactly the "silly" output mentioned in that bug. Expected result: ---------------- Foo::__construct (string $string) Actual result: -------------- Foo::__construct() (string $string) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66644&edit=1

« previous php.doc.bugs (#12181) next »