diff --git a/src/Repository/QuotesRepository.php b/src/Repository/QuotesRepository.php index c84ca94..1e3b7a3 100644 --- a/src/Repository/QuotesRepository.php +++ b/src/Repository/QuotesRepository.php @@ -38,7 +38,7 @@ class QuotesRepository extends ServiceEntityRepository } } - public function findOneRandom(): ?QueryBuilder + public function findOneRandom(): ?Quotes { try { $idLimits = $this->createQueryBuilder(alias: 'q')