lib/mongoid/criteria/queryable/mergeable.rb in mongoid-7.1.11 vs lib/mongoid/criteria/queryable/mergeable.rb in mongoid-7.2.0.rc1

- old
+ new

@@ -235,12 +235,12 @@ # identical operators. # # Similarly, this method should never need to expand a literal value # and an operator at the same time. # - # @param [ Hash ] Criteria including Key instances. + # @param [ Hash ] expr Criteria including Key instances. # - # @return [ Hash ] Expanded criteria. + # @return [ Hash ] The expanded criteria. private def _mongoid_expand_keys(expr) unless expr.is_a?(Hash) raise ArgumentError, 'Argument must be a Hash' end