summaryrefslogtreecommitdiff
path: root/app/helpers/json_helper.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-20 13:49:51 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-20 13:49:51 +0000
commit71786ddc8e28fbd3cb3fcc4b3ff15e5962a1c82e (patch)
tree6a2d93ef3fb2d353bb7739e4b57e6541f51cdd71 /app/helpers/json_helper.rb
parenta7253423e3403b8c08f8a161e5937e1488f5f407 (diff)
downloadgitlab-ce-71786ddc8e28fbd3cb3fcc4b3ff15e5962a1c82e.tar.gz
Add latest changes from gitlab-org/gitlab@15-9-stable-eev15.9.0-rc42
Diffstat (limited to 'app/helpers/json_helper.rb')
-rw-r--r--app/helpers/json_helper.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/helpers/json_helper.rb b/app/helpers/json_helper.rb
index e61c789fd08..2a1a6272cc9 100644
--- a/app/helpers/json_helper.rb
+++ b/app/helpers/json_helper.rb
@@ -4,11 +4,11 @@ module JsonHelper
# These two JSON helpers are short-form wrappers for the Gitlab::Json
# class, which should be used in place of .to_json calls or calls to
# the JSON class.
- def json_generate(*args)
- Gitlab::Json.generate(*args)
+ def json_generate(...)
+ Gitlab::Json.generate(...)
end
- def json_parse(*args)
- Gitlab::Json.parse(*args)
+ def json_parse(...)
+ Gitlab::Json.parse(...)
end
end