Returns the siblings nodes of the current selection.
\InvalidArgumentException When current node is empty
public function siblings() : static { if (!$this->nodes) { throw new \InvalidArgumentException('The current node list is empty.'); } return $this->createSubCrawler($this->sibling($this->getNode(0)->parentNode->firstChild)); }