Skip to content

Commit 7c486c5

Browse files
committed
multi client configuration
1 parent 6e0cab6 commit 7c486c5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎pkg/simple-client/SimpleClient.php‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,7 @@ private function createConfiguration(): NodeInterface
299299
return ['transport' => ['dsn' => 'null:']];
300300
});
301301

302-
$transportNode = $rootNode->children()->arrayNode('transport');
303-
(new TransportFactory('default'))->addTransportConfiguration($transportNode);
302+
$rootNode->children()->append(TransportFactory::getConfiguration());
304303

305304
$rootNode->children()
306305
->arrayNode('client')

0 commit comments

Comments
 (0)