diff --git a/src/Bundle/ChillMainBundle/Tests/Controller/UserControllerTest.php b/src/Bundle/ChillMainBundle/Tests/Controller/UserControllerTest.php index dfcd266cc..390cf46e0 100644 --- a/src/Bundle/ChillMainBundle/Tests/Controller/UserControllerTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Controller/UserControllerTest.php @@ -37,7 +37,7 @@ final class UserControllerTest extends WebTestCase ]); } - protected function tearDown() + protected function tearDown(): void { self::bootKernel(); $em = self::$container->get(EntityManagerInterface::class); diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/HouseholdApiControllerTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/HouseholdApiControllerTest.php index 1c686b6b2..419179077 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/HouseholdApiControllerTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/HouseholdApiControllerTest.php @@ -38,7 +38,7 @@ final class HouseholdApiControllerTest extends WebTestCase private array $toDelete = []; - protected function tearDown() + protected function tearDown(): void { self::bootKernel(); $em = self::$container->get(EntityManagerInterface::class);