Skip to content

Commit b9ab859

Browse files
committed
chore: format code with mix format
1 parent bad544e commit b9ab859

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

lib/phoenix/session_process.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,9 @@ defmodule Phoenix.SessionProcess do
12391239
# Only export handle_async/3 if explicitly defined by the reducer
12401240
# This ensures function_exported?(module, :handle_async, 3) accurately reflects intent
12411241

1242-
defoverridable init_state: 0, handle_action: 2, handle_unmatched_action: 2,
1242+
defoverridable init_state: 0,
1243+
handle_action: 2,
1244+
handle_unmatched_action: 2,
12431245
handle_unmatched_async: 3
12441246
end
12451247
end

lib/phoenix/session_process/reducer_behaviour.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ defmodule Phoenix.SessionProcess.ReducerBehaviour do
202202
action :: Action.t(),
203203
dispatch :: (binary(), any(), keyword() -> any()),
204204
state :: map()
205-
) :: (() -> any())
205+
) :: (-> any())
206206

207207
@doc """
208208
Handle unmatched actions (optional).
@@ -260,7 +260,7 @@ defmodule Phoenix.SessionProcess.ReducerBehaviour do
260260
action :: Action.t(),
261261
dispatch :: (binary(), any(), keyword() -> any()),
262262
state :: map()
263-
) :: (() -> any())
263+
) :: (-> any())
264264

265265
@optional_callbacks handle_async: 3, handle_unmatched_action: 2, handle_unmatched_async: 3
266266
end

0 commit comments

Comments
 (0)