Skip to content

Commit 552775e

Browse files
committed
Fix dialyzer in OTP 25
1 parent fcb4d95 commit 552775e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deps/rabbitmq_shovel/src/rabbit_shovel_behaviour.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@
8080
-callback ack(Tag :: tag(), Multi :: boolean(), state()) -> state().
8181
-callback nack(Tag :: tag(), Multi :: boolean(), state()) -> state().
8282
-callback forward(Tag :: tag(), Props :: #{atom() => any()},
83-
Payload :: binary(), state()) -> state().
83+
Payload :: binary(), state()) ->
84+
state() | {stop, any()}.
8485
-callback status(state()) -> rabbit_shovel_status:blocked_status() | ignore.
8586

8687
-spec parse(atom(), binary(), {source | destination, proplists:proplist()}) ->

0 commit comments

Comments
 (0)