svn: /phpdoc/en/trunk/reference/spl/arrayiterator/ count.xml
| From: | Justin Martin | Date: | Tue, 09 Nov 2010 00:25:16 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/spl/arrayiterator/ count.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7395@lists.php.net to get a copy of this message | ||
frozenfire Tue, 09 Nov 2010 00:25:16 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305212
Log:
Fixed return type and clarified return value, as per bug #53268.
Bug: http://bugs.php.net/53268 (Open) ArrayIterator::count()
return type "void" when should be "int"
Changed paths:
U phpdoc/en/trunk/reference/spl/arrayiterator/count.xml
Modified: phpdoc/en/trunk/reference/spl/arrayiterator/count.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/arrayiterator/count.xml 2010-11-08 20:26:14 UTC (rev 305211)
+++ phpdoc/en/trunk/reference/spl/arrayiterator/count.xml 2010-11-09 00:25:16 UTC (rev 305212)
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier>
<type>void</type><methodname>ArrayIterator::count</methodname>
+ <modifier>public</modifier>
<type>int</type><methodname>ArrayIterator::count</methodname>
<void />
</methodsynopsis>
<para>
@@ -30,7 +30,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- The number.
+ The number of elements or public properties in the associated
+ <type>array</type> or <type>object</type>, respectively.
</para>
</refsect1>