increase speed
This commit is contained in:
parent
23598667bb
commit
0834cfe456
@ -50,7 +50,7 @@ class ProductRepository extends ServiceEntityRepository
|
||||
/**
|
||||
* @return Product[] Returns an array of Product objects
|
||||
*/
|
||||
public function findById(int $value): array
|
||||
public function findById($value): array
|
||||
{
|
||||
return $this->createQueryBuilder('p')
|
||||
->andWhere('p.id IN (:val)')
|
||||
|
Loading…
Reference in New Issue
Block a user