Skip to content

Commit

Permalink
Merge pull request #413 from xdbas/patch-1
Browse files Browse the repository at this point in the history
Fix AMQP(s) code in amqp.md
  • Loading branch information
makasim authored Mar 26, 2018
2 parents 397526a + d319c5a commit 92bfd0e
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 92bfd0e

Please sign in to comment.