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 source typos

luz pazd0f3c4be7fdb
diff --git a/app/models/enumeration.rb b/app/models/enumeration.rb
index 2fbe80ac9c5..614c88fed03 100644
--- a/app/models/enumeration.rb
+++ b/app/models/enumeration.rb
@@ -129,7 +129,7 @@ class Enumeration < ApplicationRecord
def to_s; name end
# Does the +new+ Hash override the previous Enumeration?
- def self.overridding_change?(new, previous)
+ def self.overriding_change?(new, previous)
if same_active_state?(new['active'], previous.active) && same_custom_values?(new, previous)
false
else
diff --git a/modules/reporting/lib/report/group_by/base.rb b/modules/reporting/lib/report/group_by/base.rb
index e27c9ea5701..4e5b6620df7 100644
--- a/modules/reporting/lib/report/group_by/base.rb
+++ b/modules/reporting/lib/report/group_by/base.rb
@@ -92,7 +92,7 @@ class Report::GroupBy
sql_aggregation? ? engine::GroupBy::SqlAggregation : engine::GroupBy::RubyAggregation
end
- def initialize(child = nil, optios = {})
+ def initialize(child = nil, options = {})
super
extend aggregation_mixin
group_fields field