src/View/Tab/NavigationIterator.php
public function rewind(): void
    {
        $this->items               = $this->navigation->items();
        $this->currentItem         = current($this->items);
        $this->dropdownItems       = [];
        $this->currentDropdownItem = null;

        if ($this->currentItem instanceof Dropdown) {
            $this->dropdownItems       = $this->currentItem->items();
            $this->currentDropdownItem = current($this->dropdownItems);
        }
    }
public function rewind(): void
    {
        $this->items               = $this->navigation->items();
        $this->currentItem         = current($this->items);
        $this->dropdownItems       = [];
        $this->currentDropdownItem = null;

        if ($this->currentItem instanceof Dropdown) {
            $this->dropdownItems       = $this->currentItem->items();
            $this->currentDropdownItem = current($this->dropdownItems);
        }
    }
{@inheritdoc}