]> source.dussan.org Git - redmine.git/commitdiff
Fix RuboCop offense Style/SuperWithArgsParentheses (#37862).
authorGo MAEDA <maeda@farend.jp>
Wed, 1 May 2024 09:21:47 +0000 (09:21 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 1 May 2024 09:21:47 +0000 (09:21 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22801 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/issue_query.rb

index 6a27713437fd72e3acfa4deed895bfd9e11553f1..0895e80749c4139917748b35fd98dbdb7f758f73 100644 (file)
@@ -22,7 +22,7 @@ class IssueQuery < Query
     COLUMN_SQL = Arel.sql("COALESCE(#{Issue.table_name}.estimated_hours, 0) * (100 - COALESCE(#{Issue.table_name}.done_ratio, 0)) / 100")
 
     def initialize
-      super :estimated_remaining_hours, totalable: true, sortable: COLUMN_SQL
+      super(:estimated_remaining_hours, totalable: true, sortable: COLUMN_SQL)
     end
 
     def value(object)