svn: /phpdoc/en/trunk/reference/array/functions/ array-reduce.xml
| From: | Peter Cowburn | Date: | Fri, 10 Feb 2012 16:43:39 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/array/functions/ array-reduce.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9571@lists.php.net to get a copy of this message | ||
salathe Fri, 10 Feb 2012 16:43:39 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=323153
Log:
fixed types for array_reduce() callback proto (thanks starlays)
Changed paths:
U phpdoc/en/trunk/reference/array/functions/array-reduce.xml
Modified: phpdoc/en/trunk/reference/array/functions/array-reduce.xml
===================================================================
--- phpdoc/en/trunk/reference/array/functions/array-reduce.xml 2012-02-10 15:22:20 UTC (rev 323152)
+++ phpdoc/en/trunk/reference/array/functions/array-reduce.xml 2012-02-10 16:43:39 UTC (rev 323153)
@@ -39,8 +39,8 @@
The callback function.
</para>
<methodsynopsis>
-
<type>void</type><methodname><replaceable>callback</replaceable></methodname>
- <methodparam><type>array</type><parameter
role="reference">result</parameter></methodparam>
+
<type>mixed</type><methodname><replaceable>callback</replaceable></methodname>
+ <methodparam><type>mixed</type><parameter
role="reference">result</parameter></methodparam>
<methodparam><type>mixed</type><parameter>item</parameter></methodparam>
</methodsynopsis>
</listitem>