// The position after the end of the next delimiter
private $endPos;
- // The current token
+ /** @var string|false The current token */
private $current;
/**
}
/**
- * @return string
+ * @return void
*/
public function next() {
if ( $this->endPos === false ) {
}
}
$this->refreshCurrent();
-
- return $this->current;
}
/**