Skip to content

Commit

Permalink
remove redundant returns
Browse files Browse the repository at this point in the history
  • Loading branch information
yuenmichelle1 committed Oct 8, 2024
1 parent db35f9b commit 967974b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/queries/count_classifications.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def call(params={})
else
scoped = filter_by_date_range(scoped, params[:start_date], params[:end_date])
end
return scoped
scoped
end

private
Expand Down Expand Up @@ -103,7 +103,7 @@ def current_date_workflow_classifications(workflow_id)
def end_date_includes_today?(end_date)
includes_today = true
includes_today = Date.parse(end_date) >= Date.today if end_date.present?
return includes_today
includes_today
end

def relation(params)
Expand Down

0 comments on commit 967974b

Please sign in to comment.