protected function renderRTL(): string
    {
        $trail = '';

        if ($this->after) {
            $trail .= '<span class="after">'.$this->after.'</span> ';
        }

        $trail .= \join(
            ' <span class="sep delimiter">'.$this->delimiter.'</span> ',
            \array_reverse($this->links)
        );

        if ($this->before) {
            $trail .= ' <span class="before">'.$this->before.'</span>';
        }

        return $trail;
    }