Unverified Commit e555e16f authored by David Bruchmann's avatar David Bruchmann Committed by GitHub

fix #3479 (typos in example-code in QueryBuilder)

fix two typos in QueryBuilder, on of them reported in #3479
parent b4d10154
......@@ -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