For InvalidTag the getName() method sometimes returns the tag name including the @ - this is only happens for some cases and also only for InvalidTag.
When testing a tool on an lib, I got that for:
$foo = 'bar'; /** @var $self SomeClass */
Strip leading @ from InvalidTag name
Activity
Strip leading @ from InvalidTag name