protected function Drupal_CommentParser_FunctionCommentParser::parseParam in Coder 7.2
Parses parameter elements.
Parameters
array(string) $tokens The tokens that conmpise this sub element.:
Return value
Drupal_CommentParser_ParameterElement
File
- coder_sniffer/
Drupal/ CommentParser/ FunctionCommentParser.php, line 45
Class
- Drupal_CommentParser_FunctionCommentParser
- Parses function doc comments.
Code
protected function parseParam($tokens) {
$param = new Drupal_CommentParser_ParameterElement($this->previousElement, $tokens, $this->phpcsFile);
$this->params[] = $param;
return $param;
}