svn: /phpdoc/en/trunk/reference/reflection/reflectionclass/ construct.xml
| From: | Adam Harvey | Date: | Tue, 07 Dec 2010 03:05:33 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/reflection/reflectionclass/ construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7496@lists.php.net to get a copy of this message | ||
aharvey Tue, 07 Dec 2010 03:05:33 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306039
Log:
Fix doc bug #53490 (ReflectionClass::__construct() documentation incorrect).
Bug: http://bugs.php.net/53490 (Assigned)
ReflectionClass::__construct() documentation incorrect
Changed paths:
U phpdoc/en/trunk/reference/reflection/reflectionclass/construct.xml
Modified: phpdoc/en/trunk/reference/reflection/reflectionclass/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/reflection/reflectionclass/construct.xml 2010-12-07 03:02:47 UTC (rev
306038)
+++ phpdoc/en/trunk/reference/reflection/reflectionclass/construct.xml 2010-12-07 03:05:33 UTC (rev
306039)
@@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<methodname>ReflectionClass::__construct</methodname>
-
<methodparam><type>string</type><parameter>argument</parameter></methodparam>
+
<methodparam><type>mixed</type><parameter>argument</parameter></methodparam>
</methodsynopsis>
<para>
Constructs a new <classname>ReflectionClass</classname> object.
@@ -29,7 +29,8 @@
<term><parameter>argument</parameter></term>
<listitem>
<para>
- The class being reflected.
+ Either a <type>string</type> containing the name of the class to
+ reflect, or an <type>object</type>.
</para>
</listitem>
</varlistentry>