Skip to content

Commit 001f715

Browse files
Pass method call argument wrapped in array()
1 parent 75c1ca2 commit 001f715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/OldSoundRabbitMqExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ protected function loadProducers()
186186
->setPublic(false);
187187
}
188188

189-
$definition->addMethodCall('setDefaultRoutingKey', $producer['default_routing_key']);
189+
$definition->addMethodCall('setDefaultRoutingKey', array($producer['default_routing_key']));
190190
}
191191
} else {
192192
foreach ($this->config['producers'] as $key => $producer) {

0 commit comments

Comments
 (0)