Skip to content

Commit 31a0b07

Browse files
committed
Fix PSR error
1 parent 003230f commit 31a0b07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/doctrine.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,8 +1253,8 @@ following method to the ``ProductRepository`` class::
12531253
public function findOneByIdJoinedToCategory($id)
12541254
{
12551255
$query = $this->getEntityManager()
1256-
->createQuery('
1257-
SELECT p, c FROM AcmeStoreBundle:Product p
1256+
->createQuery(
1257+
'SELECT p, c FROM AcmeStoreBundle:Product p
12581258
JOIN p.category c
12591259
WHERE p.id = :id'
12601260
)->setParameter('id', $id);

0 commit comments

Comments
 (0)