mirror of
https://github.com/symfony/ux-autocomplete.git
synced 2026-03-24 00:02:12 +01:00
Fix variable name in example
This commit is contained in:
@@ -664,7 +664,7 @@ interface.
|
||||
+
|
||||
+ $qb = $repository->createQueryBuilder('o');
|
||||
+
|
||||
+ if ($productAttributesToBeExcluded !== []) {
|
||||
+ if ($excludedFoods !== []) {
|
||||
+ $qb
|
||||
+ ->andWhere($qb->expr()->notIn('o.id', $excludedFoods));
|
||||
+ ->setParameter('excludedFoods', $excludedFoods)
|
||||
|
||||
Reference in New Issue
Block a user