private function getLinkText(Tag $tagReflector): ?string
    {
        if ($tagReflector instanceof See) {
            return (string) $tagReflector->getReference();
        }

        if ($tagReflector instanceof Link) {
            return (string) $tagReflector->getLink();
        }

        return null;
    }