public function InlineVariableCommentSniff::register in Coder 8.3
Same name and namespace in other branches
- 8.3.x coder_sniffer/Drupal/Sniffs/Commenting/InlineVariableCommentSniff.php \Drupal\Sniffs\Commenting\InlineVariableCommentSniff::register()
Returns an array of tokens this test wants to listen for.
Return value
array<int|string>
File
- coder_sniffer/
Drupal/ Sniffs/ Commenting/ InlineVariableCommentSniff.php, line 33
Class
- InlineVariableCommentSniff
- Checks for the correct usage of inline variable type declarations.
Namespace
Drupal\Sniffs\CommentingCode
public function register() {
return [
T_COMMENT,
T_DOC_COMMENT_TAG,
];
}