Skip to content
Snippets Groups Projects
Commit 62ffe85a authored by Cédric Girardot's avatar Cédric Girardot
Browse files

Fix #79 : Force la fonction countBySearch à retourner un entier

Change-Id: I9381ecf63e500e97b94d55ef7b46efd762389087
parent 56df26d2
No related branches found
No related tags found
No related merge requests found
......@@ -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)');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment