1
0
mirror of synced 2025-02-10 01:09:26 +03:00

Merge pull request #1483 from longkey1/fix-typo

Fix typo
This commit is contained in:
Marco Pivetta 2015-09-04 08:37:40 +01:00
commit 8aa0cdd0b9

View File

@ -1054,7 +1054,7 @@ class QueryBuilder
* // You can optionally programatically build and/or expressions * // You can optionally programatically build and/or expressions
* $qb = $em->createQueryBuilder(); * $qb = $em->createQueryBuilder();
* *
* $or = $qb->expr()->orx(); * $or = $qb->expr()->orX();
* $or->add($qb->expr()->eq('u.id', 1)); * $or->add($qb->expr()->eq('u.id', 1));
* $or->add($qb->expr()->eq('u.id', 2)); * $or->add($qb->expr()->eq('u.id', 2));
* *