From 27e671378b514aa6573aa6b4c43752f878d0ef72 Mon Sep 17 00:00:00 2001 From: Tomas Kormanak Date: Fri, 28 Nov 2014 08:40:00 +0000 Subject: [PATCH] minor typo --- docs/en/reference/dql-doctrine-query-language.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/reference/dql-doctrine-query-language.rst b/docs/en/reference/dql-doctrine-query-language.rst index a6b6670a6..d57fcbd94 100644 --- a/docs/en/reference/dql-doctrine-query-language.rst +++ b/docs/en/reference/dql-doctrine-query-language.rst @@ -278,7 +278,7 @@ With Nested Conditions in WHERE Clause: .. code-block:: php createQuery('SELECT u from ForumUser u WHERE (u.username = :name OR u.username = :name2) AND u.id = :id'); + $query = $em->createQuery('SELECT u FROM ForumUser u WHERE (u.username = :name OR u.username = :name2) AND u.id = :id'); $query->setParameters(array( 'name' => 'Bob', 'name2' => 'Alice',