From 58a13d932f90454b0aaa399196f9b10e173c8286 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 21 Dec 2021 15:12:15 +0100 Subject: [PATCH] fix: Fix return types in tests. --- .../ChillMainBundle/Tests/Controller/UserControllerTest.php | 2 +- .../Tests/Controller/HouseholdApiControllerTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);