Can anyone advise where in the PSR standards docs it documents that there should be nothing after the variable type in class member variables?
I used PHP CodeStyle Fixer by doing the following: php-cs-fixer fix MyConsoleCommand.php
...and it removed the variable from the docblock. I have been doing this for some time now and I believed this was correct and standards-compliant.
Can anyone confirm?
/**
- * @var SiteManager $siteManager
+ * @var SiteManager
*/
private $siteManager;
/**
- * @var Registry $doctrine
+ * @var Registry
*/
private $doctrine;