Skip to content

Commit 43cbcd1

Browse files
Apply suggestions from code review
Co-authored-by: Grégoire Hébert <[email protected]>
1 parent e30797b commit 43cbcd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/filters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ class WithParameter
323323

324324
### `ReadLinkParameterProvider`
325325

326-
This provider fetches a linked resource from a given identifier. This is useful when you need to load a related entity to use later, for example in your own state provider.
326+
This provider fetches a linked resource from a given identifier. This is useful when you need to load a related resource to use later, for example in your own state provider.
327327

328328
```php
329329
<?php
@@ -351,7 +351,7 @@ class WithParameter
351351
{
352352
public static function provideDummyFromParameter(Operation $operation, array $uriVariables = [], array $context = []): object|array
353353
{
354-
// The value has been transformed from an identifier to an entity by the provider.
354+
// The value has been transformed from an identifier to an entity by the ReadLinkParameterProvider.
355355
return $operation->getParameters()->get('dummy')->getValue();
356356
}
357357
}

0 commit comments

Comments
 (0)