Skip to content

Commit

Permalink
Add a type spec
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Aug 24, 2024
1 parent f12919b commit 96fc028
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deps/rabbit/src/rabbit_amqqueue.erl
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,10 @@ augment_declare_args(VHost, Durable, Exclusive, AutoDelete, Args0) ->
end
end.

-spec update_args_table_with_queue_type(
rabbit_queue_type:queue_type() | binary(),
boolean(), boolean(), boolean(),
rabbit_framing:amqp_table()) -> rabbit_framing:amqp_table().
update_args_table_with_queue_type(DefaultQueueType, Durable, Exclusive, AutoDelete, Args) ->
Type = rabbit_queue_type:discover(DefaultQueueType),
IsPermitted = is_queue_args_combination_permitted(
Expand Down

0 comments on commit 96fc028

Please sign in to comment.