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

remove ServiceResult#tap method as it is already defined in Kernel

Christophe Bliard75d5b6210d1c
diff --git a/app/services/service_result.rb b/app/services/service_result.rb
index 61eed9e571e..0dc60742a5a 100644
--- a/app/services/service_result.rb
+++ b/app/services/service_result.rb
@@ -141,11 +141,6 @@ class ServiceResult
self
end
- def tap
- yield(self)
- self
- end
-
def each
yield result if success?
self