original_string: protected function closeTag($ele) {
          if ($this->outputMode == static::IM_IN_HTML || $ele->hasChildNodes()) {
              $this->wr('</')->wr($this->traverser->isLocalElement($ele) ? $ele->localName : $ele->tagName)->wr('>');
          }
      }
code: protected function closeTag($ele) {
          if ($this->outputMode == static::IM_IN_HTML || $ele->hasChildNodes()) {
              $this->wr('</')->wr($this->traverser->isLocalElement($ele) ? $ele->localName : $ele->tagName)->wr('>');
          }
      }
code_tokens: protected function closeTag ( $ ele ) { if ( $ this -> outputMode == static :: IM_IN_HTML || $ ele -> hasChildNodes ( ) ) { $ this -> wr ( '</' ) -> wr ( $ this -> traverser -> isLocalElement ( $ ele ) ? $ ele -> localName : $ ele -> tagName ) -> wr ( '>' ) ; } }
docstring: Write the closing tag.
  
  Tags for HTML, MathML, and SVG are in the local name. Otherwise, use the
  qualified name (8.3).
  
  @param \DOMNode $ele
  The element being written.
docstring_tokens: Write the closing tag .