src/Leevel/Collection/Collection.php
public function next(): void
    {
        $next = next($this->elements);
        $this->valid = false !== $next;
    }
public function next(): void
    {
        $next = next($this->elements);
        $this->valid = false !== $next;
    }
下一个元素.