public function Test::test2 in Coder 8.3.x
Same name and namespace in other branches
- 8.3 tests/Drupal/Commenting/DataTypeNamespaceUnitTest.inc \Foo\Bar\Test::test2()
- 8.2 coder_sniffer/Drupal/Test/Commenting/DataTypeNamespaceUnitTest.inc \Foo\Bar\Test::test2()
Inline var data types should be converted.
File
- tests/
Drupal/ Commenting/ DataTypeNamespaceUnitTest.inc, line 30
Class
- Test
- Test.
Namespace
Foo\BarCode
public function test2(array $x) {
/** @var TestClass $y */
$y = $x['test'];
return $y;
}