Fixing ArrayIterator documentation. ArrayIterator does not take a string, but an array or an object; it throws an exception if you give it something else.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288809 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Brandon Savage 2009-09-25 17:52:49 +00:00
parent 9aff12cf57
commit af55811b30

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<methodname>ArrayIterator::__construct</methodname>
<methodparam><type>string</type><parameter>array</parameter></methodparam>
<methodparam><type>mixed</type><parameter>array</parameter></methodparam>
</methodsynopsis>
<para>
Constructs an <classname>ArrayIterator</classname> <type>object</type>.
@ -29,7 +29,7 @@
<term><parameter>array</parameter></term>
<listitem>
<para>
The array.
The array or object to be iterated on.
</para>
</listitem>
</varlistentry>