Improve type spec

This commit is contained in:
Evgeniy Khramtsov 2018-06-14 19:51:50 +03:00
parent 17b05ff4b7
commit 6c323b729b
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ get_features(Component, {Host, XMLNS}, Host, XMLNSs) ->
get_features(_, _, _, XMLNSs) ->
XMLNSs.
-spec process_iq(binary(), atom(), atom(), iq()) -> any().
-spec process_iq(binary(), atom(), atom(), iq()) -> ok.
process_iq(_Host, Module, Function, IQ) ->
try process_iq(Module, Function, IQ) of
#iq{} = ResIQ ->