Skip to content

Commit

Permalink
Use clearer arg name
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored Apr 9, 2024
1 parent cdc16ab commit 28203dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix/presence.ex
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ defmodule Phoenix.Presence do
a `:phx_ref_prev` key will be present containing the previous
`:phx_ref` value.
"""
@callback list(Phoenix.Socket.t() | topic) :: presences
@callback list(socket_or_topic :: Phoenix.Socket.t() | topic) :: presences

@doc """
Returns the map of presence metadata for a socket/topic-key pair.
Expand Down

0 comments on commit 28203dd

Please sign in to comment.