The method current() does not exist on iterable. It seems like you code against a sub-type of iterable such as IntlCodePointBreakIterator or IntlRuleBasedBreakIterator or Iterator or IntlBreakIterator or MongoGridFSCursor or Mockery\Generator\TestTraversableInterface2 or SimpleXMLIterator.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation