only add PHPDoc annotation when there actually is an phpdoc