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

From: Date: Tue, 04 Feb 2014 21:21:13 +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-10946@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 User updated by: salathe@php.net Reported by: salathe@php.net -Summary: Remove ()'s when rending methodname in constructorsynopsis/destrutorsynopsis +Summary: Remove ()'s when rendering methodname in constructorsynopsis/destructorsynopsis Status: Open Type: Bug Package: Doc Build problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: [Update summary] Previous Comments: ------------------------------------------------------------------------ [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 (#10946) next »