Skip to content

Commit

Permalink
Fix AMQP(s) code in amqp.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xdbas authored Mar 26, 2018
1 parent 8ca5144 commit d24ea5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/transport/amqp.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ use Interop\Amqp\AmqpTopic;
/** @var \Enqueue\AmqpExt\AmqpContext $psrContext */

$fooTopic = $psrContext->createTopic('foo');
$fooTopic->addFlag(AmqpTopic::TYPE_FANOUT);
$fooTopic->setType(AmqpTopic::TYPE_FANOUT);
$psrContext->declareTopic($fooTopic);

// to remove topic use delete topic method
Expand Down

0 comments on commit d24ea5b

Please sign in to comment.