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