From 3cac853dd46f630b631f7c84fac8edb0c5ea711e Mon Sep 17 00:00:00 2001 From: asartalo Date: Sun, 24 Apr 2011 13:21:34 +0800 Subject: [PATCH] Changed instances of entity manager variable '' to '' for consistency. --- en/tutorials/getting-started-xml-edition.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/tutorials/getting-started-xml-edition.rst b/en/tutorials/getting-started-xml-edition.rst index 80b3aa227..03cf5681a 100644 --- a/en/tutorials/getting-started-xml-edition.rst +++ b/en/tutorials/getting-started-xml-edition.rst @@ -975,7 +975,7 @@ can rewrite our code: createQuery($dql); + $query = $entityManager->createQuery($dql); $bugs = $query->getArrayResult(); foreach ($bugs AS $bug) { @@ -1116,7 +1116,7 @@ grouped by product: createQuery($dql)->getScalarResult(); + $productBugs = $entityManager->createQuery($dql)->getScalarResult(); foreach($productBugs as $productBug) { echo $productBug['name']." has " . $productBug['openBugs'] . " open bugs!\n";