Skip to content

Commit 1fddc94

Browse files
authored
Merge pull request #332 from leon38/fix-dependency-injection
Fix error on undefined variable when a client is named default in config
2 parents 8bcd1b1 + aa3fe5e commit 1fddc94

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)