Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix(rubocop): obey linting

as-opbc3f992189e2
diff --git a/app/models/work_package/pdf_export/common.rb b/app/models/work_package/pdf_export/common.rb
index 79bc98b6ee6..600ebc955ca 100644
--- a/app/models/work_package/pdf_export/common.rb
+++ b/app/models/work_package/pdf_export/common.rb
@@ -161,8 +161,8 @@ module WorkPackage::PDFExport::Common
[text_x, text_width]
end
- def draw_text_multiline_part(line, text_style, x, y)
- pdf.draw_text line, text_style.merge({ at: [x, y] })
+ def draw_text_multiline_part(line, text_style, x_position, y_position)
+ pdf.draw_text line, text_style.merge({ at: [x_position, y_position] })
measure_text_height(line, text_style)
end