diff --git a/en/reference/dql-doctrine-query-language.rst b/en/reference/dql-doctrine-query-language.rst index e26d8ecab..de26eda9a 100644 --- a/en/reference/dql-doctrine-query-language.rst +++ b/en/reference/dql-doctrine-query-language.rst @@ -254,7 +254,7 @@ Using Aggregate Functions: $count = $query->getSingleScalarResult(); $query = $em->createQuery('SELECT u, count(g.id) FROM Entities\User u JOIN u.groups g GROUP BY u.id'); - $result $query->getResult(); + $result = $query->getResult(); With WHERE Clause and Positional Parameter: