X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=blobdiff_plain;f=includes%2Flibs%2FExplodeIterator.php;h=7d2c5d62c85e8eb711a83e9c19edb411613d61ab;hb=7f7efbe026b01be36019c26571224a6e8a178677;hp=3b34d9bce0d56966d9265d27dbc3fc51e1bda74f;hpb=0148d5b427afeae267bd69723b780e244fd34c4b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/ExplodeIterator.php b/includes/libs/ExplodeIterator.php index 3b34d9bce0..7d2c5d62c8 100644 --- a/includes/libs/ExplodeIterator.php +++ b/includes/libs/ExplodeIterator.php @@ -40,7 +40,7 @@ class ExplodeIterator implements Iterator { // The position after the end of the next delimiter private $endPos; - // The current token + /** @var string|false The current token */ private $current; /** @@ -89,7 +89,7 @@ class ExplodeIterator implements Iterator { } /** - * @return string + * @return void */ public function next() { if ( $this->endPos === false ) { @@ -103,8 +103,6 @@ class ExplodeIterator implements Iterator { } } $this->refreshCurrent(); - - return $this->current; } /**