protected property Test::$user in Coder 8.2
A variable name should not follow the type declaration.
Type: \Drupal\Core\Session\AccountProxyInterface $user
File
- coder_sniffer/
Drupal/ Test/ Commenting/ VariableCommentUnitTest.inc, line 39 - Test file.
Class
- Test
- Test class with properties.
Code
protected $user;