original_string: private function formatHtmlAttribute($attributes = [])
      {
          $attrArr = [];
          foreach ($attributes as $name => $val) {
              $attrArr[] = "$name=\"$val\"";
          }
  
          return implode(' ', $attrArr);
      }
code: private function formatHtmlAttribute($attributes = [])
      {
          $attrArr = [];
          foreach ($attributes as $name => $val) {
              $attrArr[] = "$name=\"$val\"";
          }
  
          return implode(' ', $attrArr);
      }
code_tokens: private function formatHtmlAttribute ( $ attributes = [ ] ) { $ attrArr = [ ] ; foreach ( $ attributes as $ name => $ val ) { $ attrArr [ ] = "$name=\"$val\"" ; } return implode ( ' ' , $ attrArr ) ; }
docstring: Format attributes to html.
  
  @param array $attributes
  
  @return string
docstring_tokens: Format attributes to html .