php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #60095 Incorrect return type
Submitted: 2011-10-19 13:26 UTC Modified: 2011-10-19 14:14 UTC
From: tomas dot mysik at oracle dot com Assigned: rdohms (profile)
Status: Closed Package: Reflection related
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
 [2011-10-19 13:26 UTC] tomas dot mysik at oracle dot com
Description:
------------
---
From manual page: http://www.php.net/reflectionclass.getmethod#refsect1-reflectionclass.getmethod-description
---

In the PhpDoc section, there is incorrect @return type - "object" instead of "ReflectionClass".

Originally reported as [1]

Thanks.
[1] http://netbeans.org/bugzilla/show_bug.cgi?id=203039


Expected result:
----------------
* @return ReflectionMethod A ReflectionMethod.


Actual result:
--------------
@return object A ReflectionMethod.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-10-19 14:14 UTC] rdohms@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Fixed in SVN revision 318215: http://svn.php.net/viewvc?
view=revision&revision=318215
 [2011-10-19 14:14 UTC] rdohms@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rdohms
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 15:01:56 2024 UTC