Skip to content

Commit

Permalink
Merge branch '3.3' into 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Oct 2, 2024
2 parents 5db8eb8 + 5a26c3c commit 4376fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -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')]);
Expand Down

0 comments on commit 4376fcb

Please sign in to comment.