@@ -47,9 +47,9 @@ |
||
47 | 47 | |
48 | 48 | $dql = "SELECT a FROM Doctrine\Tests\Models\CMS\CmsGroup a WHERE a.id = :id"; |
49 | 49 | $g = $this->em->createQuery($dql) |
50 | - ->setParameter('id', $id) |
|
51 | - ->setMaxResults(1) |
|
52 | - ->getOneOrNullResult(); |
|
50 | + ->setParameter('id', $id) |
|
51 | + ->setMaxResults(1) |
|
52 | + ->getOneOrNullResult(); |
|
53 | 53 | |
54 | 54 | $crit = \Doctrine\Common\Collections\Criteria::create(); |
55 | 55 | // get all articles where text contains '%Yadda%' |