src/Wallhaven/Wallpaper.php
private function getSibling($contents)
    {
        $dom = $this->getDom();

        $result = $dom->find('div[data-storage-id="showcase-info"]')[0]->find('dl')[0]->find('dt');

        foreach ($result as $e) {
            if ($e->text == $contents) {
                return $e->nextSibling();
            }
        }

        throw new ParseException("Sibling of element with content \"" . $contents . "\" not found.");
    }
private function getSibling($contents)
    {
        $dom = $this->getDom();

        $result = $dom->find('div[data-storage-id="showcase-info"]')[0]->find('dl')[0]->find('dt');

        foreach ($result as $e) {
            if ($e->text == $contents) {
                return $e->nextSibling();
            }
        }

        throw new ParseException("Sibling of element with content \"" . $contents . "\" not found.");
    }
@param string $contents

@return \PHPHtmlParser\Dom\AbstractNode
@throws ParseException