From e71f47a2e3660472af9687472c3c39db0c4a5984 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Wed, 24 Mar 2021 10:26:57 +0000 Subject: [PATCH] Use underscore in unused arguments --- app/models/spree/return_authorization.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/spree/return_authorization.rb b/app/models/spree/return_authorization.rb index 32a6a0a0d9..20dab21122 100644 --- a/app/models/spree/return_authorization.rb +++ b/app/models/spree/return_authorization.rb @@ -65,7 +65,7 @@ module Spree end # Used when Adjustment#update! wants to update the related adjustment - def compute_amount(*args) + def compute_amount(*_args) amount.abs * -1 end