php.net |  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: 2015-04-16 18:58 UTC
From: salathe@php.net Assigned: salathe (profile)
Status: Closed Package: Doc Build problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: salathe@php.net
New email:
PHP Version: OS:

 

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-02-04 21:21 UTC] salathe@php.net
-Summary: Remove ()'s when rending methodname in constructorsynopsis/destrutorsynopsis +Summary: Remove ()'s when rendering methodname in constructorsynopsis/destructorsynopsis
 [2014-02-04 21:21 UTC] salathe@php.net
[Update summary]
 [2015-04-16 18:37 UTC] cmb@php.net
-Assigned To: +Assigned To: salathe
 [2015-04-16 18:37 UTC] cmb@php.net
This issue appears to have been fixed in the meantime. Can you
confirm, Peter?
 [2015-04-16 18:58 UTC] salathe@php.net
-Status: Assigned +Status: Closed
 [2015-04-16 18:58 UTC] salathe@php.net
Whoops. This was fixed the same day I reported it.  Closing!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 17:01:29 2024 UTC