Skip to content

Commit

Permalink
fix #3479 (typos in example-code in QueryBuilder)
Browse files Browse the repository at this point in the history
fix two typos in QueryBuilder, on of them reported in #3479
  • Loading branch information
DavidBruchmann authored Apr 4, 2019
1 parent b4d1015 commit e555e16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Doctrine/DBAL/Query/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ public function addSelect($select = null)
* <code>
* $qb = $conn->createQueryBuilder()
* ->delete('users', 'u')
* ->where('u.id = :user_id');
* ->where('u.id = :user_id')
* ->setParameter(':user_id', 1);
* </code>
*
Expand Down Expand Up @@ -873,8 +873,8 @@ public function groupBy($groupBy)
* $qb = $conn->createQueryBuilder()
* ->select('u.name')
* ->from('users', 'u')
* ->groupBy('u.lastLogin');
* ->addGroupBy('u.createdAt')
* ->groupBy('u.lastLogin')
* ->addGroupBy('u.createdAt');
* </code>
*
* @param mixed $groupBy The grouping expression.
Expand Down

0 comments on commit e555e16

Please sign in to comment.