Vendor/PHPHtmlParser/paquettg/php-html-parser/src/PHPHtmlParser/Dom/AbstractNode.php
public function nextSibling()
    {
        if (is_null($this->parent)) {
            throw new ParentNotFoundException('Parent is not set for this node.');
        }

        return $this->parent->nextChild($this->id);
    }
public function nextSibling()
    {
        if (is_null($this->parent)) {
            throw new ParentNotFoundException('Parent is not set for this node.');
        }

        return $this->parent->nextChild($this->id);
    }
public function nextSibling ( ) { if ( is_null ( $ this -> parent ) ) { throw new ParentNotFoundException ( 'Parent is not set for this node.' ) ; } return $ this -> parent -> nextChild ( $ this -> id ) ; }
Attempts to get the next sibling.

@return AbstractNode
@throws ParentNotFoundException
Attempts to get the next sibling .