Skip to content

Commit 286a297

Browse files
refactor: Apply suggestion from @copilot
- #245 (comment)
1 parent 29b9da4 commit 286a297

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/omniauth/strategies/saml.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ def valid_slo_relay_state?(relay_state)
184184
end
185185

186186
def call_slo_relay_state_validator(validator, relay_state)
187-
arity = validator.arity
188-
189187
return validator.call if validator.arity.zero?
190188
return validator.call(relay_state) if validator.arity == 1
191189
validator.call(relay_state, request)

0 commit comments

Comments
 (0)