8000 Fix nullable entitymanager in functional repository tests · symfony/symfony-docs@c4ed2ed · GitHub
[go: up one dir, main page]

Skip to content

Commit c4ed2ed

Browse files
author
Constantin Ross
committed
Fix nullable entitymanager in functional repository tests
1 parent 5618562 commit c4ed2ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/database.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ so, get the entity manager via the service container as follows::
9999

100100
class ProductRepositoryTest extends KernelTestCase
101101
{
102-
private EntityManager $entityManager;
102+
private ?EntityManager $entityManager;
103103

104104
protected function setUp(): void
105105
{

0 commit comments

Comments
 (0)
0