Skip to content

Commit aa3fe5e

Browse files
committed
Fix error on undefined variable when a client is named default in config
1 parent 8bcd1b1 commit aa3fe5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DependencyInjection/HttplugExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ private function configureClients(ContainerBuilder $container, array $config)
127127
$default = $first;
128128
} else {
129129
$default = 'default';
130+
$serviceId = 'httplug.client.'.$default;
130131
}
131132

132133
// Autowiring alias for special clients, if they are enabled on the default client

0 commit comments

Comments
 (0)