dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Globally unsuppress phan issues with low count
[lhc/web/wiklou.git]
/
includes
/
libs
/
ExplodeIterator.php
diff --git
a/includes/libs/ExplodeIterator.php
b/includes/libs/ExplodeIterator.php
index
3b34d9b
..
7d2c5d6
100644
(file)
--- 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 position after the end of the next delimiter
private $endPos;
- /
/ The current token
+ /
** @var string|false The current token */
private $current;
/**
private $current;
/**
@@
-89,7
+89,7
@@
class ExplodeIterator implements Iterator {
}
/**
}
/**
- * @return
string
+ * @return
void
*/
public function next() {
if ( $this->endPos === false ) {
*/
public function next() {
if ( $this->endPos === false ) {
@@
-103,8
+103,6
@@
class ExplodeIterator implements Iterator {
}
}
$this->refreshCurrent();
}
}
$this->refreshCurrent();
-
- return $this->current;
}
/**
}
/**