diff --git a/src/BeSimple/SoapBundle/DependencyInjection/BeSimpleSoapExtension.php b/src/BeSimple/SoapBundle/DependencyInjection/BeSimpleSoapExtension.php index 11ff49a..55cd08d 100644 --- a/src/BeSimple/SoapBundle/DependencyInjection/BeSimpleSoapExtension.php +++ b/src/BeSimple/SoapBundle/DependencyInjection/BeSimpleSoapExtension.php @@ -152,7 +152,7 @@ class BeSimpleSoapExtension extends Extension $definition = new ChildDefinition('besimple.soap.client'); $container->setDefinition(sprintf('besimple.soap.client.%s', $client), $definition); - if (3 === Kernel::MAJOR_VERSION) { + if (Kernel::MAJOR_VERSION >= 3) { $definition->setFactory(array( new Reference(sprintf('besimple.soap.client.builder.%s', $client)), 'build' diff --git a/src/BeSimple/SoapBundle/Resources/config/client.xml b/src/BeSimple/SoapBundle/Resources/config/client.xml index 0af3c34..2c2465e 100644 --- a/src/BeSimple/SoapBundle/Resources/config/client.xml +++ b/src/BeSimple/SoapBundle/Resources/config/client.xml @@ -19,7 +19,9 @@ - + + +