Change-Id: If438d83e1b43c110b3c23e8d0a7705fa0795049f
* The keys of the base iterator are reused verbatim.
*
* @param Iterator|Array $iter
- * @param Closure $callback
+ * @param Closure $vCallback
* @throws MWException
*/
public function __construct( $iter, Closure $vCallback ) {
}
/**
- * @return Mixed|null Returns null if out of range
+ * @return void
*/
public function next() {
$this->baseIterator->next();
- return $this->current(); // make sure callback is applied
}
/**