From 2a5815e2099e99f8885c4732c563940002742724 Mon Sep 17 00:00:00 2001 From: Klaus Zanders Date: Tue, 10 Dec 2024 16:16:17 +0100 Subject: [PATCH] make rubocop happy --- modules/costs/app/models/time_entry.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?