You are here

public function Drupal_CommentParser_ReturnElement::getComment in Coder 7.2

Returns the comment associated with the value of this tag.

Return value

string

File

coder_sniffer/Drupal/CommentParser/ReturnElement.php, line 96

Class

Drupal_CommentParser_ReturnElement
A class to represent return elements. We need this class because PHP_CodeSniffer_CommentParser_PairElement lacks the getWhitespaceBeforeComment() method.

Code

public function getComment() {
  return $this->comment;
}