You are here

public function Drupal_CommentParser_ReturnElement::getWhitespaceBeforeComment in Coder 7.2

Returns the witespace before the content of this tag.

Return value

string

File

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

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 getWhitespaceBeforeComment() {
  return $this->commentWhitespace;
}