src/Node.php
public function getClosingTag(): ?string
    {
        if (!in_array($this->nodeName, self::SELF_CLOSING_TAGS)) {
            return sprintf('</%s>', $this->nodeName);
        }

        return null;
    }
public function getClosingTag(): ?string
    {
        if (!in_array($this->nodeName, self::SELF_CLOSING_TAGS)) {
            return sprintf('</%s>', $this->nodeName);
        }

        return null;
    }
public function getClosingTag ( ) : ? string { if ( ! in_array ( $ this -> nodeName , self :: SELF_CLOSING_TAGS ) ) { return sprintf ( '</%s>' , $ this -> nodeName ) ; } return null ; }
Returns the html code of the closing tag.
Returns the html code of the closing tag .