Skip to content

Commit

Permalink
sorcery: Do not use void? type (#477)
Browse files Browse the repository at this point in the history
Since RBS-3.3, void? type is not allowed.
  • Loading branch information
tk0miya authored Nov 10, 2023
1 parent 2de2d45 commit 25286c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gems/sorcery/0.16/sorcery.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module Sorcery

def logged_in?: () -> bool
def current_user: () -> (T | nil)
def logout: () -> (nil | void)
def logout: () -> void
def auto_login: (T, ?bool should_remember) -> void
def redirect_back_or_to: (String url, ?Hash[(String | Symbol), String] flash_hash) -> void
end
Expand Down

0 comments on commit 25286c5

Please sign in to comment.