fixed return type of findOneRandom

This commit is contained in:
tracer 2022-11-01 16:34:08 +01:00
parent 92c8ee75a3
commit d83ed5b659
1 changed files with 1 additions and 1 deletions

View File

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