diff --git a/lib/faraday/connection.rb b/lib/faraday/connection.rb
index <HASH>..<HASH> 100644
--- a/lib/faraday/connection.rb
+++ b/lib/faraday/connection.rb
@@ -474,9 +474,7 @@ module Faraday
       if params
         uri.query = params.to_query(params_encoder || options.params_encoder)
       end
-      # rubocop:disable Style/SafeNavigation
       uri.query = nil if uri.query && uri.query.empty?
-      # rubocop:enable Style/SafeNavigation
       uri
     end
chore: Remove unnecessary lint skip