mirror of https://github.com/rectorphp/rector.git
19 lines
439 B
PHP
19 lines
439 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\BetterPhpDocParser\PhpDoc;
|
|
|
|
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
|
|
{
|
|
public function __toString() : string
|
|
{
|
|
return $this->name . $this->value;
|
|
}
|
|
}
|