fixed return type of findOneRandom
This commit is contained in:
parent
92c8ee75a3
commit
d83ed5b659
|
@ -38,7 +38,7 @@ class QuotesRepository extends ServiceEntityRepository
|
|||
}
|
||||
}
|
||||
|
||||
public function findOneRandom(): ?QueryBuilder
|
||||
public function findOneRandom(): ?Quotes
|
||||
{
|
||||
try {
|
||||
$idLimits = $this->createQueryBuilder(alias: 'q')
|
||||
|
|
Loading…
Reference in New Issue