From 65fe9b86c5709c8d0be3b928b1c89d99ac370d05 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Tue, 14 Dec 2010 23:35:17 +0100 Subject: [PATCH] Fix another code block --- en/reference/introduction.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/reference/introduction.rst b/en/reference/introduction.rst index b7325aadd..73343a7e8 100644 --- a/en/reference/introduction.rst +++ b/en/reference/introduction.rst @@ -372,8 +372,8 @@ database. ## PUT YOUR TEST CODE BELOW $q = $em->createQuery('select u from Entities\User u where u.name = ?1'); - $q->setParameter(1, 'Garfield'); $garfield = - $q->getSingleResult(); + $q->setParameter(1, 'Garfield'); + $garfield = $q->getSingleResult(); echo "Hello " . $garfield->getName() . "!";