<?php

declare (strict_types=1);
namespace Rector\BetterPhpDocParser\PhpDoc;

use Override;
use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode;
use Stringable;
/**
 * Useful for annotation class based annotation, e.g. @ORM\Entity to prevent space
 * between the @ORM\Entity and (someContent)
 */
final class SpacelessPhpDocTagNode extends PhpDocTagNode
{
    #[Override]
    public function __toString(): string
    {
        return $this->name . $this->value;
    }
}
