diff --git a/modules/costs/app/models/time_entry.rb b/modules/costs/app/models/time_entry.rb index 9984922099c6..501d8fad8f1d 100644 --- a/modules/costs/app/models/time_entry.rb +++ b/modules/costs/app/models/time_entry.rb @@ -125,7 +125,7 @@ def costs_visible_by?(usr) (user_id == usr.id && usr.allowed_in_project?(:view_own_hourly_rate, project)) end - def start_timestamp + def start_timestamp # rubocop:disable Metrics/AbcSize return nil if start_time.blank? return nil if time_zone.blank? return nil if spent_on.blank?