From 819e5896bf45cd449a1fb1d7d8cd47a00ef8a10c Mon Sep 17 00:00:00 2001
From: Jakub Vrana <jakub@vrana.cz>
Date: Wed, 30 Jan 2013 11:11:09 -0800
Subject: [PATCH] Fix error in QueryBuilder example

---
 lib/Doctrine/ORM/QueryBuilder.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Doctrine/ORM/QueryBuilder.php b/lib/Doctrine/ORM/QueryBuilder.php
index 7f9edff86..e35d119ab 100644
--- a/lib/Doctrine/ORM/QueryBuilder.php
+++ b/lib/Doctrine/ORM/QueryBuilder.php
@@ -134,7 +134,8 @@ class QueryBuilder
      * This producer method is intended for convenient inline usage. Example:
      *
      * <code>
-     *     $qb = $em->createQueryBuilder()
+     *     $qb = $em->createQueryBuilder();
+     *     $qb
      *         ->select('u')
      *         ->from('User', 'u')
      *         ->where($qb->expr()->eq('u.id', 1));