original_string: public function closeTag()
      {
          $result = '</label>';
          if ($this->element->hasAttribute('required') && $this->element->getAttribute('required')) {
              $result = sprintf('<span class="required-mark">*</span> %s', $result);
          }
  
          return $result;
      }
code: public function closeTag()
      {
          $result = '</label>';
          if ($this->element->hasAttribute('required') && $this->element->getAttribute('required')) {
              $result = sprintf('<span class="required-mark">*</span> %s', $result);
          }
  
          return $result;
      }
code_tokens: public function closeTag ( ) { $ result = '</label>' ; if ( $ this -> element -> hasAttribute ( 'required' ) && $ this -> element -> getAttribute ( 'required' ) ) { $ result = sprintf ( '<span class="required-mark">*</span> %s' , $ result ) ; } return $ result ; }
docstring: Return a closing label tag
  
  @return string
docstring_tokens: Return a closing label tag