Skip to content

Commit

Permalink
minor #3556 Fix PSR error (ifdattic)
Browse files Browse the repository at this point in the history
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 d974c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d974c77

Please sign in to comment.