Doc #60095 [Opn->Csd]: Incorrect return type
| From: | rdohms@php.net | Date: | Wed, 19 Oct 2011 14:14:32 +0000 |
| Subject: | Doc #60095 [Opn->Csd]: Incorrect return type | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7336@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60095&edit=1
ID: 60095
Updated by: rdohms@php.net
Reported by: tomas dot mysik at oracle dot com
Summary: Incorrect return type
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Reflection related
Operating System: All
PHP Version: Irrelevant
-Assigned To:
+Assigned To: rdohms
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2011-10-19 13:26:46] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60095&edit=1