function test6 in Coder 8.2
Same name in this branch
Same name and namespace in other branches
- 8.3 tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.inc \test6()
- 8.3 tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test6()
- 8.3 tests/Drupal/bad/bad.php \test6()
- 7.2 coder_sniffer/Test/bad/bad.php \test6()
- 8.3.x tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.inc \test6()
- 8.3.x tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test6()
- 8.3.x tests/Drupal/bad/bad.php \test6()
Array syntax with brackets is allowed in type hints.
Parameters
string[] $names: An indexed array of names.
File
- coder_sniffer/
Drupal/ Test/ good/ good.php, line 1152 - This file contains all the valid notations for the drupal coding standard.
Code
function test6(array $names) {
}