Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix rdoc

Bruno Pagnoad1829f6610f
diff --git a/app/services/custom_fields/hierarchy/hierarchical_item_service.rb b/app/services/custom_fields/hierarchy/hierarchical_item_service.rb
index 671a548dd4f..e0274491d14 100644
--- a/app/services/custom_fields/hierarchy/hierarchical_item_service.rb
+++ b/app/services/custom_fields/hierarchy/hierarchical_item_service.rb
@@ -99,7 +99,7 @@ module CustomFields
# Reorder the item along its siblings.
# @param item [CustomField::Hierarchy::Item] the parent of the node
# @param new_sort_order [Integer] the new position of the node
- # @return [Success(CustomField::Hierarchy::Item)]
+ # @return [Success]
def reorder_item(item:, new_sort_order:)
return Success() if item.siblings.empty?