From 5a26c3c58e77bad6a58a0e6ef77837fa877f0748 Mon Sep 17 00:00:00 2001 From: Raphael Marchese Date: Wed, 2 Oct 2024 11:58:48 +0200 Subject: [PATCH] Fix: Fix the typo in filters doc for GroupsParameterProvider function class Change thefunction name from provider to provide --- core/filters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/filters.md b/core/filters.md index 67eda76a7a3..5c31f6d5f4a 100644 --- a/core/filters.md +++ b/core/filters.md @@ -43,7 +43,7 @@ A parameter can alter the current Operation context, to do so use a `ApiPlatform ```php class GroupsParameterProvider implements ParameterProviderInterface { - public function provider(Parameter $parameter, array $uriVariables = [], array $context = []): HttpOperation + public function provide(Parameter $parameter, array $uriVariables = [], array $context = []): HttpOperation { $request = $context['request']; return $context['operation']->withNormalizationContext(['groups' => $request->query->all('groups')]);