From c4ed2edc8c58f537aeaa1718ffe034b0c70c3a51 Mon Sep 17 00:00:00 2001 From: Constantin Ross Date: Sat, 6 Apr 2024 23:52:59 +0200 Subject: [PATCH] Fix nullable entitymanager in functional repository tests --- testing/database.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/database.rst b/testing/database.rst index 3f7ce3704f8..0f19ee89b41 100644 --- a/testing/database.rst +++ b/testing/database.rst @@ -99,7 +99,7 @@ so, get the entity manager via the service container as follows:: class ProductRepositoryTest extends KernelTestCase { - private EntityManager $entityManager; + private ?EntityManager $entityManager; protected function setUp(): void {