DX: fix phpstan errors

This commit is contained in:
2023-02-04 01:53:40 +01:00
parent 584ac05b53
commit 264a6ef43e
12 changed files with 25 additions and 25 deletions

View File

@@ -33,9 +33,8 @@ final class ThirdPartyRepository implements ObjectRepository
/**
* count amongst parties associated to $centers, with $terms parameters.
*
* @param type $terms
*/
public function countByMemberOfCenters(array $centers, $terms = []): int
public function countByMemberOfCenters(array $centers, array $terms = []): int
{
$qb = $this->buildQuery($centers, $terms);
$qb->select('COUNT(tp)');