you should typehint the argument as ``\Traversable``