Skip to content

Commit 0513dde

Browse files
authored
Merge pull request #165 from php-http/Nyholm-patch-33
We need the concrete implementation, not the interface.
2 parents 3f10a52 + 30c3335 commit 0513dde

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

DependencyInjection/HttplugExtension.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use Symfony\Component\Config\FileLocator;
2020
use Symfony\Component\DependencyInjection\ChildDefinition;
2121
use Symfony\Component\DependencyInjection\ContainerBuilder;
22-
use Symfony\Component\DependencyInjection\ContainerInterface;
2322
use Symfony\Component\DependencyInjection\Definition;
2423
use Symfony\Component\DependencyInjection\DefinitionDecorator;
2524
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
@@ -149,7 +148,7 @@ private function configureSharedPlugins(ContainerBuilder $container, array $conf
149148
* @param ContainerBuilder $container In case we need to add additional services for this plugin
150149
* @param string $serviceId Service id of the plugin, in case we need to add additional services for this plugin.
151150
*/
152-
private function configurePluginByName($name, Definition $definition, array $config, ContainerInterface $container, $serviceId)
151+
private function configurePluginByName($name, Definition $definition, array $config, ContainerBuilder $container, $serviceId)
153152
{
154153
switch ($name) {
155154
case 'cache':

0 commit comments

Comments
 (0)