1
0
mirror of synced 2025-01-18 06:21:40 +03:00

DDC-1069 - Fix error in docblocks of query builder

This commit is contained in:
Benjamin Eberlei 2011-11-18 14:41:44 +01:00
parent b44ff9b849
commit 61e371cbdc

View File

@ -313,7 +313,7 @@ class QueryBuilder
* ->select('u')
* ->from('User', 'u')
* ->where('u.id = :user_id')
* ->setParameter(':user_id', 1);
* ->setParameter('user_id', 1);
* </code>
*
* @param string|integer $key The parameter position or name.
@ -344,8 +344,8 @@ class QueryBuilder
* ->from('User', 'u')
* ->where('u.id = :user_id1 OR u.id = :user_id2')
* ->setParameters(array(
* ':user_id1' => 1,
* ':user_id2' => 2
* 'user_id1' => 1,
* 'user_id2' => 2
* ));
* </code>
*
@ -539,7 +539,7 @@ class QueryBuilder
* $qb = $em->createQueryBuilder()
* ->delete('User', 'u')
* ->where('u.id = :user_id');
* ->setParameter(':user_id', 1);
* ->setParameter('user_id', 1);
* </code>
*
* @param string $delete The class/type whose instances are subject to the deletion.