fixed return type of findOneRandom

This commit is contained in:
tracer 2022-11-01 16:34:08 +01:00
parent 92c8ee75a3
commit d83ed5b659

View File

@ -38,7 +38,7 @@ class QuotesRepository extends ServiceEntityRepository
}
}
public function findOneRandom(): ?QueryBuilder
public function findOneRandom(): ?Quotes
{
try {
$idLimits = $this->createQueryBuilder(alias: 'q')