Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 d974c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/doctrine.rst
Expand Up @@ -1253,8 +1253,8 @@ following method to the ``ProductRepository`` class::
public function findOneByIdJoinedToCategory($id) public function findOneByIdJoinedToCategory($id)
{ {
$query = $this->getEntityManager() $query = $this->getEntityManager()
->createQuery(' ->createQuery(
SELECT p, c FROM AcmeStoreBundle:Product p 'SELECT p, c FROM AcmeStoreBundle:Product p
JOIN p.category c JOIN p.category c
WHERE p.id = :id' WHERE p.id = :id'
)->setParameter('id', $id); )->setParameter('id', $id);
Expand Down

0 comments on commit d974c77

Please sign in to comment.