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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tomas dot mysik at oracle dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 03:01:35 2025 UTC