Skip to content

Commit e2b4c05

Browse files
committed
Fix rubocop offence
1 parent f3e9082 commit e2b4c05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

admin/app/helpers/solidus_admin/void_elements_helper.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ module VoidElementsHelper
55
# https://github.com/rails/rails/blob/194d697036c61af0caa66de5659721ded2478ce9/actionview/lib/action_view/helpers/tag_helper.rb#L84
66
HTML_VOID_ELEMENTS = %i(area base br col embed hr img input keygen link meta source track wbr)
77

8-
# @param el [Symbol]
9-
def void_element?(el)
10-
HTML_VOID_ELEMENTS.include?(el)
8+
# @param element [Symbol]
9+
def void_element?(element)
10+
HTML_VOID_ELEMENTS.include?(element)
1111
end
1212
end
1313
end

0 commit comments

Comments
 (0)