lib/blacklight/solr/request.rb in blacklight-6.0.2 vs lib/blacklight/solr/request.rb in blacklight-6.1.0

- old
+ new

@@ -1,11 +1,11 @@ # frozen_string_literal: true class Blacklight::Solr::InvalidParameter < ArgumentError; end class Blacklight::Solr::Request < ActiveSupport::HashWithIndifferentAccess - SINGULAR_KEYS = %w{facet fl q qt rows start spellcheck spellcheck.q sort per_page wt hl group defType} - ARRAY_KEYS = %w{facet.field facet.query facet.pivot fq hl.fl} + SINGULAR_KEYS = %w(facet fl q qt rows start spellcheck spellcheck.q sort per_page wt hl group defType) + ARRAY_KEYS = %w(facet.field facet.query facet.pivot fq hl.fl) def initialize(constructor = {}) if constructor.is_a?(Hash) super() update(constructor)