Permalink
Browse files

minor #3556 Fix PSR error (ifdattic)

This PR was merged into the 2.3 branch.

Discussion
----------

Fix PSR error

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3
| Fixed tickets |

Fixes: Opening parenthesis of a multi-line function call must be the last content on the line

Commits
-------

31a0b07 Fix PSR error
  • Loading branch information...
weaverryan committed Feb 16, 2014
2 parents f4bb017 + 31a0b07 commit d974c773c9e1a9122244fe2a1aedbe32ee232490
Showing with 2 additions and 2 deletions.
  1. +2 −2 book/doctrine.rst
View
@@ -1253,8 +1253,8 @@ following method to the ``ProductRepository`` class::
public function findOneByIdJoinedToCategory($id)
{
$query = $this->getEntityManager()
->createQuery('
SELECT p, c FROM AcmeStoreBundle:Product p
->createQuery(
'SELECT p, c FROM AcmeStoreBundle:Product p
JOIN p.category c
WHERE p.id = :id'
)->setParameter('id', $id);

0 comments on commit d974c77

Please sign in to comment.