mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
fix deprecations
This commit is contained in:
parent
8610902722
commit
7ba0439cc5
@ -34,7 +34,7 @@ class AnnotationsProviderCompilerPass implements CompilerPassInterface
|
|||||||
|
|
||||||
$container
|
$container
|
||||||
->getDefinition('nelmio_api_doc.extractor.api_doc_extractor')
|
->getDefinition('nelmio_api_doc.extractor.api_doc_extractor')
|
||||||
->replaceArgument(6, $annotationsProviders)
|
->replaceArgument(5, $annotationsProviders)
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,6 @@ class ExtractorHandlerCompilerPass implements CompilerPassInterface
|
|||||||
|
|
||||||
$container
|
$container
|
||||||
->getDefinition('nelmio_api_doc.extractor.api_doc_extractor')
|
->getDefinition('nelmio_api_doc.extractor.api_doc_extractor')
|
||||||
->replaceArgument(5, $handlers);
|
->replaceArgument(4, $handlers);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user