public function FunctionDefinition::register in Coder 8.3
Same name and namespace in other branches
- 8.2 coder_sniffer/Drupal/Sniffs/Semantics/FunctionDefinition.php \Drupal\Sniffs\Semantics\FunctionDefinition::register()
- 8.3.x coder_sniffer/Drupal/Sniffs/Semantics/FunctionDefinition.php \Drupal\Sniffs\Semantics\FunctionDefinition::register()
Returns an array of tokens this test wants to listen for.
Return value
array<int|string>
File
- coder_sniffer/
Drupal/ Sniffs/ Semantics/ FunctionDefinition.php, line 32
Class
- FunctionDefinition
- Helper class to sniff for function definitions.
Namespace
Drupal\Sniffs\SemanticsCode
public function register() {
return [
T_STRING,
];
}