Skip to content

Commit d73e777

Browse files
committed
Fix typo in type signature.
1 parent 2d1b628 commit d73e777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/protocol/http/url.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def self.escape_path(path)
4444

4545
# Encodes a hash or array into a query string. This method is used to encode query parameters in a URL. For example, `{"a" => 1, "b" => 2}` is encoded as `a=1&b=2`.
4646
#
47-
# @parameter value [Hash, Array] The value to encode.
47+
# @parameter value [Hash | Array | Nil] The value to encode.
4848
# @parameter prefix [String] The prefix to use for keys.
4949
def self.encode(value, prefix = nil)
5050
case value

0 commit comments

Comments
 (0)