You are here

function test25 in Coder 8.3.x

Same name in this branch
  1. 8.3.x tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test25()
  2. 8.3.x tests/Drupal/bad/bad.php \test25()
Same name and namespace in other branches
  1. 8.3 tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test25()
  2. 8.3 tests/Drupal/bad/bad.php \test25()
  3. 8.2 coder_sniffer/Drupal/Test/Commenting/FunctionCommentUnitTest.inc \test25()
  4. 8.2 coder_sniffer/Drupal/Test/bad/bad.php \test25()
  5. 7.2 coder_sniffer/Test/bad/bad.php \test25()

The shorthand array syntax should not be used as a return type.

Return value

[] The array.

File

tests/Drupal/Commenting/FunctionCommentUnitTest.inc, line 301
Some function comment tests.

Code

function test25() {
  return [];
}