|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66644 Remove ()'s when rendering methodname in constructorsynopsis/destructorsynopsis
Submitted: 2014-02-04 21:15 UTC Modified: 2014-02-04 21:21 UTC
From: Assigned:
Status: Open Package: Doc Build problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID:
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-02-04 21:15 UTC]
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)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-02-04 21:21 UTC]
-Summary: Remove ()'s when rending methodname in constructorsynopsis/destrutorsynopsis +Summary: Remove ()'s when rendering methodname in constructorsynopsis/destructorsynopsis
 [2014-02-04 21:21 UTC]
[Update summary]
PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Tue Mar 31 09:02:41 2015 UTC