original_string: public static function buildHtmlElement($name, array $attributes = [], $content = null, $closeEmptyTag = true, array $cssClasses = []): string
      {
          $html = '<' . $name . self::buildAttrs($attributes, $cssClasses);
          if ($content !== null) {
              $html .= '>' . $content . '</' . $name . '>';
          } else {
              $html .= $closeEmptyTag ? ' />' : '>';
          }
          return $html;
      }
code: public static function buildHtmlElement($name, array $attributes = [], $content = null, $closeEmptyTag = true, array $cssClasses = []): string
      {
          $html = '<' . $name . self::buildAttrs($attributes, $cssClasses);
          if ($content !== null) {
              $html .= '>' . $content . '</' . $name . '>';
          } else {
              $html .= $closeEmptyTag ? ' />' : '>';
          }
          return $html;
      }
code_tokens: public static function buildHtmlElement ( $ name , array $ attributes = [ ] , $ content = null , $ closeEmptyTag = true , array $ cssClasses = [ ] ) : string { $ html = '<' . $ name . self :: buildAttrs ( $ attributes , $ cssClasses ) ; if ( $ content !== null ) { $ html .= '>' . $ content . '</' . $ name . '>' ; } else { $ html .= $ closeEmptyTag ? ' />' : '>' ; } return $ html ; }
docstring: Build an html element
  @param string $name
  @param array $attributes
  @param string $content
  @param bool $closeEmptyTag
  @return string
docstring_tokens: Build an html element