This fixes Rubocop errors for ee/lib/gitlab/elastic/search_results.rb file. Apparently, I have an option in VS Code to automatically fix some Rubocop errors at saving.
ee/lib/gitlab/elastic/search_results.rb