Refactored the declaration of services for ServiceBinder

This commit is contained in:
Francis Besset
2011-08-14 21:06:04 +02:00
parent d3a8965500
commit 33165ce8d2
3 changed files with 12 additions and 21 deletions

View File

@ -60,8 +60,8 @@ class BeSimpleSoapExtension extends Extension
$options = $container
->getDefinition('besimple.soap.context.'.$bindingSuffix)
->getArgument(6);
->getArgument(4);
$definition->replaceArgument(6, array_merge($options, $config));
$definition->replaceArgument(4, array_merge($options, $config));
}
}