File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,6 @@ concrete one::
311311 ])
312312 ;
313313
314- // the following line won't work unless the alias is made public
315314 $container->set(NewsRepositoryInterface::class, $newsRepository);
316315
317316 // will be injected the mocked repository
@@ -326,8 +325,8 @@ that allows you to interact with private services and aliases.
326325
327326.. versionadded :: 6.3
328327
329- The possibility to set a private service with the test service container without
330- declaring the alias as public was introduced in Symfony 6.3.
328+ The possibility to set a private service with the test service container
329+ without declaring a public alias for it was introduced in Symfony 6.3.
331330
332331.. _testing-databases :
333332
You can’t perform that action at this time.
0 commit comments