Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix error in QueryBuilder example #562

Merged
merged 1 commit into from

3 participants

@vrana

No description provided.

@doctrinebot
Collaborator

Hello,

thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

http://doctrine-project.org/jira/browse/DDC-2266

@guilhermeblanco guilhermeblanco merged commit 4651d92 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 30, 2013
  1. @vrana
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/Doctrine/ORM/QueryBuilder.php
View
3  lib/Doctrine/ORM/QueryBuilder.php
@@ -134,7 +134,8 @@ public function __construct(EntityManager $em)
* 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));
Something went wrong with that request. Please try again.