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() . "!";