original_string: protected function addFooters($result)
      {
          return ltrim($result, PHP_EOL)
                  .PHP_EOL.implode(PHP_EOL, array_reverse($this->footer));
      }
code: protected function addFooters($result)
      {
          return ltrim($result, PHP_EOL)
                  .PHP_EOL.implode(PHP_EOL, array_reverse($this->footer));
      }
code_tokens: protected function addFooters ( $ result ) { return ltrim ( $ result , PHP_EOL ) . PHP_EOL . implode ( PHP_EOL , array_reverse ( $ this -> footer ) ) ; }
docstring: Add the stored footers onto the given content.
  
  @param  string  $result
  @return string
docstring_tokens: Add the stored footers onto the given content .