summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2017-08-01 11:43:24 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2017-08-03 09:07:18 -0700
commit9d53418acb736476e4ede216c1ba9d08a5e3554a (patch)
tree79f3aee50b108b91575c3557483091c4f35b7550
parente5496e1e8ef3fa82e6cefcababcb9ad3b55a11c3 (diff)
downloadgitlab-ce-9d53418acb736476e4ede216c1ba9d08a5e3554a.tar.gz
clearer argument name
-rw-r--r--app/services/notification_recipient_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/notification_recipient_service.rb b/app/services/notification_recipient_service.rb
index 540e568fed2..cfc1fab210a 100644
--- a/app/services/notification_recipient_service.rb
+++ b/app/services/notification_recipient_service.rb
@@ -48,8 +48,8 @@ module NotificationRecipientService
@recipients ||= []
end
- def <<(arg)
- users, type = arg
+ def <<(pair)
+ users, type = pair
if users.is_a?(ActiveRecord::Relation)
users = users.includes(:notification_settings)