diff --git a/src/elli.erl b/src/elli.erl index 9f233ce..bc9285e 100644 --- a/src/elli.erl +++ b/src/elli.erl @@ -106,7 +106,7 @@ set_callback(S, Callback, CallbackArgs) -> gen_server:call(S, {set_callback, Callback, CallbackArgs}). %% @doc Stop `Server'. --spec stop(Server :: atom()) -> {stop, normal, ok, state()}. +-spec stop(Server :: atom()) -> ok. stop(S) -> gen_server:call(S, stop).