private function getUnqualifiedClassType($node, PhpFileModelInterface $phpFile): string
    {
        $name = $node->toString();
        if ($phpFile->hasUse($name)) {
            return $phpFile->getUse($name);
        }
        $namespace = $phpFile->getNamespaceString();
        if ($namespace !== null) {
            $namespace = $namespace . '\\';
        }
        return $namespace . $name;
    }
private function getUnqualifiedClassType($node, PhpFileModelInterface $phpFile): string
    {
        $name = $node->toString();
        if ($phpFile->hasUse($name)) {
            return $phpFile->getUse($name);
        }
        $namespace = $phpFile->getNamespaceString();
        if ($namespace !== null) {
            $namespace = $namespace . '\\';
        }
        return $namespace . $name;
    }
private function getUnqualifiedClassType ( $ node , PhpFileModelInterface $ phpFile ) : string { $ name = $ node -> toString ( ) ; if ( $ phpFile -> hasUse ( $ name ) ) { return $ phpFile -> getUse ( $ name ) ; } $ namespace = $ phpFile -> getNamespaceString ( ) ; if ( $ namespace !== null ) { $ namespace = $ namespace . '\\' ; } return $ namespace . $ name ; }
Retrieve the class type hint when it is unqualified.

@param Node\Name|Node\Identifier $node    The name node to parse.
@param PhpFileModelInterface     $phpFile The php file.

@return string The class type hint.
Retrieve the class type hint when it is unqualified .