From eb45690e10ef8cc1957093c8caa483a0f19c1495 Mon Sep 17 00:00:00 2001 From: Piotr Antosik Date: Fri, 3 Jan 2014 17:28:42 +0100 Subject: [PATCH] Fix typos - QueryBuilder --- lib/Doctrine/ORM/QueryBuilder.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Doctrine/ORM/QueryBuilder.php b/lib/Doctrine/ORM/QueryBuilder.php index dba95aa5e..370879fb6 100644 --- a/lib/Doctrine/ORM/QueryBuilder.php +++ b/lib/Doctrine/ORM/QueryBuilder.php @@ -187,7 +187,7 @@ class QueryBuilder * * $qb = $em->createQueryBuilder() * ->select('u') - * ->from('User', 'u') + * ->from('User', 'u'); * echo $qb->getDql(); // SELECT u FROM User u * * @@ -655,7 +655,7 @@ class QueryBuilder * * $qb = $em->createQueryBuilder() * ->delete('User', 'u') - * ->where('u.id = :user_id'); + * ->where('u.id = :user_id') * ->setParameter('user_id', 1); * * @@ -709,7 +709,7 @@ class QueryBuilder * * $qb = $em->createQueryBuilder() * ->select('u') - * ->from('User', 'u') + * ->from('User', 'u'); * * * @param string $from The class name. @@ -967,8 +967,8 @@ class QueryBuilder * $qb = $em->createQueryBuilder() * ->select('u') * ->from('User', 'u') - * ->groupBy('u.lastLogin'); - * ->addGroupBy('u.createdAt') + * ->groupBy('u.lastLogin') + * ->addGroupBy('u.createdAt'); * * * @param string $groupBy The grouping expression.