diff --git a/DependencyInjection/AnnotationsProviderCompilerPass.php b/DependencyInjection/AnnotationsProviderCompilerPass.php index a369a43..c5feb6b 100644 --- a/DependencyInjection/AnnotationsProviderCompilerPass.php +++ b/DependencyInjection/AnnotationsProviderCompilerPass.php @@ -34,7 +34,7 @@ class AnnotationsProviderCompilerPass implements CompilerPassInterface $container ->getDefinition('nelmio_api_doc.extractor.api_doc_extractor') - ->replaceArgument(6, $annotationsProviders) + ->replaceArgument(5, $annotationsProviders) ; } } diff --git a/DependencyInjection/ExtractorHandlerCompilerPass.php b/DependencyInjection/ExtractorHandlerCompilerPass.php index 5055705..50c7143 100644 --- a/DependencyInjection/ExtractorHandlerCompilerPass.php +++ b/DependencyInjection/ExtractorHandlerCompilerPass.php @@ -29,6 +29,6 @@ class ExtractorHandlerCompilerPass implements CompilerPassInterface $container ->getDefinition('nelmio_api_doc.extractor.api_doc_extractor') - ->replaceArgument(5, $handlers); + ->replaceArgument(4, $handlers); } }