private function findUseType(UseUse $use): int
    {
        if (Use_::TYPE_UNKNOWN === $use->type) {
            /** @var Use_ $parentNode */
            $parentNode = ParentNodeAppender::getParent($use);

            return $parentNode->type;
        }

        return $use->type;
    }
private function findUseType(UseUse $use): int
    {
        if (Use_::TYPE_UNKNOWN === $use->type) {
            /** @var Use_ $parentNode */
            $parentNode = ParentNodeAppender::getParent($use);

            return $parentNode->type;
        }

        return $use->type;
    }
private function findUseType ( UseUse $ use ) : int { if ( Use_ :: TYPE_UNKNOWN === $ use -> type ) { /** @var Use_ $parentNode */ $ parentNode = ParentNodeAppender :: getParent ( $ use ) ; return $ parentNode -> type ; } return $ use -> type ; }
Finds the type of the use statement.

@param UseUse $use

@return int See \PhpParser\Node\Stmt\Use_ type constants.
Finds the type of the use statement .