You are here

public function Drupal_CommentParser_FunctionCommentParser::getReturn in Coder 7.2

Returns the return element in this fucntion comment.

Returns null if no return element exists in the comment.

Return value

Drupal_CommentParser_ReturnElement

File

coder_sniffer/Drupal/CommentParser/FunctionCommentParser.php, line 103

Class

Drupal_CommentParser_FunctionCommentParser
Parses function doc comments.

Code

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