diff --git a/lib/gitlab/lazy.rb b/lib/gitlab/lazy.rb
index d7a22aa339ec55cff425a36dcfe1e5ce86e06817..c589d613efc200a9086f850f2990fb958ef76c84 100644
--- a/lib/gitlab/lazy.rb
+++ b/lib/gitlab/lazy.rb
@@ -15,10 +15,10 @@ def initialize(&block)
       @block = block
     end
 
-    def method_missing(name, *args, &block)
+    def method_missing(...)
       __evaluate__
 
-      @result.__send__(name, *args, &block) # rubocop:disable GitlabSecurity/PublicSend
+      @result.__send__(...) # rubocop:disable GitlabSecurity/PublicSend
     end
 
     def respond_to_missing?(name, include_private = false)
diff --git a/spec/deprecation_toolkit_env.rb b/spec/deprecation_toolkit_env.rb
index ad861a7d58e470543cd1791dd703c592f4bb2da7..fa4fdf805ec2c34f8a778fc1e1d5b4aa39a88775 100644
--- a/spec/deprecation_toolkit_env.rb
+++ b/spec/deprecation_toolkit_env.rb
@@ -56,11 +56,8 @@ def self.kwargs_warning
   # In this case, we recommend to add a silence together with an issue to patch or update
   # the dependency causing the problem.
   # See https://gitlab.com/gitlab-org/gitlab/-/commit/aea37f506bbe036378998916d374966c031bf347#note_647515736
-  #
-  # - lib/gitlab/lazy.rb: https://gitlab.com/gitlab-org/gitlab/-/issues/356367
   def self.allowed_kwarg_warning_paths
     %w[
-        lib/gitlab/lazy.rb
       ]
   end