@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
6 | 6 |
@@ -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%' |