From 6d8778fd69ca93f2f7a05ac2dd4b527e617cc81b Mon Sep 17 00:00:00 2001 From: Benjamin Morel Date: Mon, 23 Nov 2015 12:18:18 +0100 Subject: [PATCH] Fix typos in DQL doc --- docs/en/reference/dql-doctrine-query-language.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/reference/dql-doctrine-query-language.rst b/docs/en/reference/dql-doctrine-query-language.rst index eaf2d4610..ae4ee11e8 100644 --- a/docs/en/reference/dql-doctrine-query-language.rst +++ b/docs/en/reference/dql-doctrine-query-language.rst @@ -486,9 +486,9 @@ You use the partial syntax when joining as well: Using the ``NEW`` operator you can construct Data Transfer Objects (DTOs) directly from DQL queries. - When using ``SELECT NEW`` you don't need to specify a mapped entity. -- You can specify any PHP class, it's only require that the constructor of this class matches the ``NEW`` statement. +- You can specify any PHP class, it only requires that the constructor of this class matches the ``NEW`` statement. - This approach involves determining exactly which columns you really need, - and instantiating data-transfer object that containing a constructor with those arguments. + and instantiating a data-transfer object that contains a constructor with those arguments. If you want to select data-transfer objects you should create a class: