Unverified Commit 799085fa authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3504 from DavidBruchmann/master

fix #3479 (typos in example-code in QueryBuilder)
parents b4d10154 e555e16f
......@@ -504,7 +504,7 @@ class QueryBuilder
* <code>
* $qb = $conn->createQueryBuilder()
* ->delete('users', 'u')
* ->where('u.id = :user_id');
* ->where('u.id = :user_id')
* ->setParameter(':user_id', 1);
* </code>
*
......@@ -873,8 +873,8 @@ class QueryBuilder
* $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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment