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.