src/PHPHtmlParser/Dom.php
public function addNoSlashTag($tag): Dom
    {
        if ( ! is_array($tag)) {
            $tag = [$tag];
        }
        foreach ($tag as $value) {
            $this->noSlash[] = $value;
        }

        return $this;
    }
public function addNoSlashTag($tag): Dom
    {
        if ( ! is_array($tag)) {
            $tag = [$tag];
        }
        foreach ($tag as $value) {
            $this->noSlash[] = $value;
        }

        return $this;
    }
public function addNoSlashTag ( $ tag ) : Dom { if ( ! is_array ( $ tag ) ) { $ tag = [ $ tag ] ; } foreach ( $ tag as $ value ) { $ this -> noSlash [ ] = $ value ; } return $ this ; }
Adds a tag to the list of self closing tags that should not have a trailing slash

@param $tag
@return Dom
@chainable
Adds a tag to the list of self closing tags that should not have a trailing slash