Skip to content

Commit

Permalink
make rubocop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
klaustopher committed Dec 10, 2024
1 parent cfdf0bd commit 2a5815e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/costs/app/models/time_entry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 2a5815e

Please sign in to comment.