You are here

function test15 in Coder 8.2

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

Return data type documentation must not be the variable name.

Return value

$foo Description bla.

File

coder_sniffer/Drupal/Test/bad/bad.php, line 641

Code

function test15() {
  $foo = TRUE;
  return $foo;
}