Skip to content

Commit 9b3fc9f

Browse files
committed
Add signature
1 parent 56b83d5 commit 9b3fc9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/stream-chat/util.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def self.get_sort_fields(sort)
1616
end
1717

1818
# Normalizes a timestamp to RFC 3339 / ISO 8601 string format.
19+
sig { params(timestamp: T.anything).returns(T.untyped) }
1920
def self.normalize_timestamp(timestamp)
2021
case timestamp
2122
when DateTime then timestamp.rfc3339

0 commit comments

Comments
 (0)