summaryrefslogtreecommitdiff
path: root/zend/iteratorimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'zend/iteratorimpl.h')
-rw-r--r--zend/iteratorimpl.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/zend/iteratorimpl.h b/zend/iteratorimpl.h
index 5286309..2199e6f 100644
--- a/zend/iteratorimpl.h
+++ b/zend/iteratorimpl.h
@@ -114,11 +114,12 @@ private:
/**
* Fetch the current item
- * @param iter
- * @param data
- * @param tsrm_ls
+ *
+ * @param iter The iterator used to retrieve the value from
+ * @param tsrm_ls Thread safety variable
+ * @return The current value of the iterator
*/
- static void current(zend_object_iterator *iter, zval ***data TSRMLS_DC);
+ static zval *current(zend_object_iterator *iter TSRMLS_DC);
/**
* Fetch the key for the current element (optional, may be NULL). The key