Doc #53490 [Asn->Csd]: ReflectionClass::__construct() documentation incorrect
| From: | aharvey@php.net | Date: | Tue, 07 Dec 2010 03:05:39 +0000 |
| Subject: | Doc #53490 [Asn->Csd]: ReflectionClass::__construct() documentation incorrect | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5635@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53490&edit=1
ID: 53490
Updated by: aharvey@php.net
Reported by: php at elyobo dot net
Summary: ReflectionClass::__construct() documentation
incorrect
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2010-12-07 04:05:35] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=306039
Log: Fix doc bug #53490 (ReflectionClass::__construct() documentation
incorrect).
------------------------------------------------------------------------
[2010-12-06 23:51:49] php at elyobo dot net
Description:
------------
The documentation for the ReflectionClass construction incorrectly
indicates that
the argument should be of type string; this is incorrect, as the system
works
correct with either a string or Object.
The documentation should indicate that the type is "mixed" and should
provide an
explanation that either the name of the target class or an instance of
the target
class can be used.
The documentation in question is available at
http://www.php.net/manual/en/reflectionclass.construct.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53490&edit=1