From 7ba0439cc56d0f8555962fe90ffeba8b893940a5 Mon Sep 17 00:00:00 2001 From: Alexey Chelnakov Date: Mon, 26 Sep 2022 18:06:53 +0300 Subject: [PATCH] fix deprecations --- DependencyInjection/AnnotationsProviderCompilerPass.php | 2 +- DependencyInjection/ExtractorHandlerCompilerPass.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } }