Skip to content

Commit 96fc028

Browse files
Add a type spec
1 parent f12919b commit 96fc028

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deps/rabbit/src/rabbit_amqqueue.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,10 @@ augment_declare_args(VHost, Durable, Exclusive, AutoDelete, Args0) ->
742742
end
743743
end.
744744

745+
-spec update_args_table_with_queue_type(
746+
rabbit_queue_type:queue_type() | binary(),
747+
boolean(), boolean(), boolean(),
748+
rabbit_framing:amqp_table()) -> rabbit_framing:amqp_table().
745749
update_args_table_with_queue_type(DefaultQueueType, Durable, Exclusive, AutoDelete, Args) ->
746750
Type = rabbit_queue_type:discover(DefaultQueueType),
747751
IsPermitted = is_queue_args_combination_permitted(

0 commit comments

Comments
 (0)