You are here

function test14 in Coder 8.2

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

Using an alias type hint but the fully qualified name in the docs.

Parameters

\Drupal\some_module\ExampleClass $a: Example parameter.

File

coder_sniffer/Drupal/Test/good/good.php, line 1282
This file contains all the valid notations for the drupal coding standard.

Code

function test14(AliasedExampleClass $a) {
}