DEV: Fix Lint/ShadowedArgument (#24733)

This commit is contained in:
Jarek Radosz
2023-12-06 13:16:10 +01:00
committed by GitHub
parent 1e471f7ec2
commit 4280c01153
6 changed files with 6 additions and 7 deletions

View File

@ -2,7 +2,7 @@
module Chat
module UserNotificationsExtension
def chat_summary(user, opts)
def chat_summary(user, _ = nil)
guardian = Guardian.new(user)
return unless guardian.can_chat?