X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FMappedIterator.php;h=b4376f44c722e4563bf6e70b17b5663bb03020a7;hb=9abb9999d720ad77aab26a9a331d7bfd797ee96f;hp=243557ec57cc07b7247365cbede1f71ab93f021a;hpb=5cfcb3053d92925ddbf91167368e3ce08aacd16a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/MappedIterator.php b/includes/MappedIterator.php index 243557ec57..b4376f44c7 100644 --- a/includes/MappedIterator.php +++ b/includes/MappedIterator.php @@ -39,7 +39,7 @@ class MappedIterator implements Iterator { * 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 ) { @@ -81,11 +81,10 @@ class MappedIterator implements Iterator { } /** - * @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 } /**