Skip to content

Commit

Permalink
Merge pull request #5891 from Chrisp1tv/master
Browse files Browse the repository at this point in the history
Fix typo in PHPDoc block of QueryBuilder.php
  • Loading branch information
Ocramius committed Jun 20, 2016
2 parents 1162440 + 76badc2 commit 8237760
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/Doctrine/ORM/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -469,14 +469,15 @@ public function getRootAliases()
* $qb = $em->createQueryBuilder()
* ->select('u')
* ->from('User', 'u')
* ->join('u.articles','a';
* ->join('u.articles','a');
*
* $qb->getAllAliases(); // array('u','a')
* </code>
* @return array
*/
public function getAllAliases() {
return array_merge($this->getRootAliases(),array_keys($this->joinRootAliases));
public function getAllAliases()
{
return array_merge($this->getRootAliases(), array_keys($this->joinRootAliases));
}

/**
Expand Down

0 comments on commit 8237760

Please sign in to comment.