def update_parents_from_tag(tag, definition)
      extra_parents = definitions_for_types(tag.types)

      definition.parents.concat(extra_parents)
    end
def update_parents_from_tag(tag, definition)
      extra_parents = definitions_for_types(tag.types)

      definition.parents.concat(extra_parents)
    end
Updates the parents of a definition according to the types of a `@param`
 tag.

 @param [RubyLint::Docstring::ParamTag] tag
 @param [RubyLint::Definition::RubyObject] definition