diff --git a/appli_sf/src/Repository/PersonRepository.php b/appli_sf/src/Repository/PersonRepository.php
index ad2d798fc72de7a8cde1dc0f031e8aeaf04ed700..d7f725681fcedc30d8b839f54d5820b2bac2d646 100644
--- a/appli_sf/src/Repository/PersonRepository.php
+++ b/appli_sf/src/Repository/PersonRepository.php
@@ -38,7 +38,7 @@ class PersonRepository extends ServiceEntityRepository
         bool $onlyBirthYear = false,
         bool $withoutFirstName = false,
         bool $onlyNullHelpCode = false
-    ) {
+    ): int {
         $queryBuilder = $this->createQueryBuilder('p');
 
         $queryBuilder->select('COUNT(DISTINCT p.id)');