Skip to content

Commit 1e1341a

Browse files
committed
Fix typo in type signature.
1 parent 1f64cf8 commit 1e1341a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/protocol/rack/request.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def initialize(env)
4646
# Checks both `rack.protocol` and `HTTP_UPGRADE` headers.
4747
#
4848
# @parameter env [Hash] The Rack environment hash.
49-
# @returns [Array<String> | Nil] The list of protocols or nil if none specified.
49+
# @returns [Array(String) | Nil] The list of protocols or `nil` if none specified.
5050
def self.protocol(env)
5151
if protocols = env["rack.protocol"]
5252
return Array(protocols)

0 commit comments

Comments
 (0)