Fix PHPStan warnings in lib

[MAILPOET-5751]
This commit is contained in:
Jan Lysý
2023-12-01 16:16:59 +01:00
committed by Aschepikov
parent 41a55262fe
commit 525c80bac4
59 changed files with 351 additions and 457 deletions

View File

@ -86,7 +86,7 @@ class SubscriberStatisticsRepository extends Repository {
->andWhere('stats.sentAt >= :dateTime')
->setParameter('dateTime', $startTime);
}
return $queryBuilder
return (int)$queryBuilder
->getQuery()
->getSingleScalarResult();
}