From 38911076ad62f35068c4826aa6fc5174b31c283f Mon Sep 17 00:00:00 2001
From: Per Persson <md2perpe+github@gmail.com>
Date: Tue, 15 Apr 2014 13:56:18 +0200
Subject: [PATCH] Single quotes can't nest

I decided to use "... '...' ...", but perhaps you prefer '... \'...\' ...'?
---
 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 3d465f632..18d87835b 100644
--- a/docs/en/reference/dql-doctrine-query-language.rst
+++ b/docs/en/reference/dql-doctrine-query-language.rst
@@ -434,7 +434,7 @@ Starting with 2.4, the IDENTITY() DQL function also works for composite primary
 .. code-block:: php
 
     <?php
-    $query = $em->createQuery('SELECT IDENTITY(c.location, 'latitude') AS latitude, IDENTITY(c.location, 'longitude') AS longitude FROM Checkpoint c WHERE c.user = ?1');
+    $query = $em->createQuery("SELECT IDENTITY(c.location, 'latitude') AS latitude, IDENTITY(c.location, 'longitude') AS longitude FROM Checkpoint c WHERE c.user = ?1");
 
 Joins between entities without associations were not possible until version
 2.4, where you can generate an arbitrary join with the following syntax: