Skip to content

Commit c67c8d5

Browse files
Merge pull request #7288 from rabbitmq/mergify/bp/v3.12.x/pr-7283
Update the spec for rabbit_binding:new/4 to match rabbit_types (backport #7283)
2 parents a8e5bd2 + 2ec3fcc commit c67c8d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbit/src/rabbit_binding.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555

5656
%%----------------------------------------------------------------------------
5757

58-
-spec new(rabbit_types:exchange(),
58+
-spec new(rabbit_types:binding_source(),
5959
key(),
60-
rabbit_types:exchange() | amqqueue:amqqueue(),
60+
rabbit_types:binding_destination(),
6161
rabbit_framing:amqp_table()) ->
6262
rabbit_types:binding().
6363

0 commit comments

Comments
 (0)