public function Foo::test41 in Coder 8.2
Omitting the comment when returning static is allowed.
Return value
static
File
- coder_sniffer/
Drupal/ Test/ good/ good.php, line 1038 - This file contains all the valid notations for the drupal coding standard.
Class
- Foo
- All classes need to have a docblock.
Code
public function test41() {
return new static();
}