Skip to content

Commit a6d89e3

Browse files
Fix as per OTP 26 constraints
dialyzer is `unknown` by default now
1 parent 1b542a5 commit a6d89e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/elli_example_callback.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ chunk_loop(Ref, N) ->
297297
%% `file_error' is sent when the user wants to return a file as a
298298
%% response, but for some reason it cannot be opened.
299299
-spec handle_event(Event, Args, Config) -> ok when
300-
Event :: elli:event(),
300+
Event :: elli_handler:event(),
301301
Args :: elli_handler:callback_args(),
302302
Config :: [tuple()].
303303
handle_event(elli_startup, [], _) -> ok;

src/elli_middleware.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ handle_event(Event, Args, Config) ->
8686

8787
-spec do_init(Req, Callbacks) -> {ok, standard | handover} when
8888
Req :: elli:req(),
89-
Callbacks :: elli_handler:callbacks().
89+
Callbacks :: [elli_handler:callback()].
9090
do_init(_, []) ->
9191
{ok, standard};
9292
do_init(Req, [{Mod, Args}|Mods]) ->

0 commit comments

Comments
 (0)