Skip to content

Commit

Permalink
Fix error on undefined variable when a client is named default in config
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoro committed Apr 11, 2019
1 parent 8bcd1b1 commit aa3fe5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DependencyInjection/HttplugExtension.php
Expand Up @@ -127,6 +127,7 @@ private function configureClients(ContainerBuilder $container, array $config)
$default = $first;
} else {
$default = 'default';
$serviceId = 'httplug.client.'.$default;
}

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

0 comments on commit aa3fe5e

Please sign in to comment.