rector/src/BetterPhpDocParser/ValueObject/Type/FullyQualifiedIdentifierTypeNode.php
Tomas Votruba e08ae92529 Updated Rector to commit fb312e00c38b17b096a7257151a4ec0571cd8607
fb312e00c3 [PHPStanStaticTypeMapper] Avoid double \ prefix on IntersectionTypeMapper (#5656)
2024-02-22 10:08:06 +00:00

15 lines
337 B
PHP

<?php
declare (strict_types=1);
namespace Rector\BetterPhpDocParser\ValueObject\Type;
use PHPStan\PhpDocParser\Ast\Type\IdentifierTypeNode;
use Stringable;
final class FullyQualifiedIdentifierTypeNode extends IdentifierTypeNode
{
public function __toString() : string
{
return '\\' . \ltrim($this->name, '\\');
}
}