Skip to content

Commit 665d32f

Browse files
mboultoureaudunglas
authored andcommitted
fix: autowire item provider
1 parent eb85fcf commit 665d32f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/state-providers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ use Symfony\Component\DependencyInjection\Attribute\Autowire;
153153
final class BookRepresentationProvider implements ProviderInterface
154154
{
155155
public function __construct(
156-
#[Autowire('api_platform.doctrine.orm.state.item_provider')]
156+
#[Autowire(service: 'api_platform.doctrine.orm.state.item_provider')]
157157
private ProviderInterface $itemProvider,
158158
)
159159
{

0 commit comments

Comments
 (0)