You are here

public function Test::test1 in Coder 8.3.x

Same name and namespace in other branches
  1. 8.3 tests/Drupal/Commenting/DataTypeNamespaceUnitTest.inc \Foo\Bar\Test::test1()
  2. 8.2 coder_sniffer/Drupal/Test/Commenting/DataTypeNamespaceUnitTest.inc \Foo\Bar\Test::test1()

Param and Return data types should be fully namespaced.

Parameters

TestClass $y: Some description.

Return value

TestClass Yep.

Throws

TestClass

File

tests/Drupal/Commenting/DataTypeNamespaceUnitTest.inc, line 23

Class

Test
Test.

Namespace

Foo\Bar

Code

public function test1(TestClass $y) {
  return $y;
}