Bug #51750 [Opn->Csd]: Add ()'s when rendering methodname elements

From: Date: Fri, 02 Jul 2010 18:01:19 +0000
Subject: Bug #51750 [Opn->Csd]: Add ()'s when rendering methodname elements
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4642@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51750&edit=1 ID: 51750 Updated by: bjori@php.net Reported by: danielc@php.net Summary: Add ()'s when rendering methodname elements -Status: Open +Status: Closed Type: Bug Package: Doc Build problem PHP Version: Irrelevant -Assigned To: +Assigned To: bjori New Comment: This bug has been fixed in SVN. Since the websites are not directly updated from the SVN server, the fix might need some time to spread across the globe to all mirror sites, including PHP.net itself. Thank you for the report, and for helping us make PHP.net better. Previous Comments: ------------------------------------------------------------------------ [2010-07-02 20:00:27] bjori@php.net Automatic comment from SVN on behalf of bjori Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=300947 Log: Fixed bug#51750 (Add ()'s when rendering methodname elements) ------------------------------------------------------------------------ [2010-05-05 16:59:25] danielc@php.net Description: ------------ <methodname> elements are rendered without parentheses on the end "()". It would be nice if they were. Several people on the php-doc list agree. I am guessing the parentheses are not added currently because we don't want them added inside <methodsynopsis> -- meaning "Foo::Bar() (string $string)" would look silly. So PhD needs to add "()" only when not in a methodsynopsis. Test script: --------------- <methodname>Foo::Bar</methodname> Expected result: ---------------- Foo::Bar() Actual result: -------------- Foo::Bar ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51750&edit=1

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