File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,6 @@ protected function loadBatchConsumers()
387387 {
388388 foreach ($ this ->config ['batch_consumers ' ] as $ key => $ consumer ) {
389389 $ definition = new Definition ('%old_sound_rabbit_mq.batch_consumer.class% ' );
390- $ definition ->setPublic (true );
391390
392391 if (!isset ($ consumer ['exchange_options ' ])) {
393392 $ consumer ['exchange_options ' ] = $ this ->getDefaultExchangeOptions ();
@@ -441,8 +440,7 @@ protected function loadBatchConsumers()
441440 protected function loadAnonConsumers ()
442441 {
443442 foreach ($ this ->config ['anon_consumers ' ] as $ key => $ anon ) {
444- $ definition = new Definition ('%old_sound_rabbit_mq.anon_consumer.class% ' );
445- $ definition ->setPublic (true );
443+ $ definition = new Definition ('%old_sound_rabbit_mq.anon_consumer.class% ' );
446444 $ definition
447445 ->setPublic (true )
448446 ->addTag ('old_sound_rabbit_mq.base_amqp ' )
You can’t perform that action at this time.
0 commit comments