Commit cb6416d6 authored by Zac Wood's avatar Zac Wood

Linting fixes

parent ff7fe3f4
Pipeline #2837 passed with stage
in 2 minutes and 57 seconds
......@@ -9,10 +9,8 @@ class IntegerValidator < Apipie::Validator::BaseValidator
!!(value.to_s =~ /^[-+]?[0-9]+$/)
end
def self.build(param_description, argument, options, block)
if argument == Integer
self.new(param_description, argument)
end
def self.build(param_description, argument, _options, _block)
new(param_description, argument) if argument == Integer
end
def description
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment