diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-13 11:29:36 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-13 11:29:36 +0300 |
commit | afbad7e15ea1dc578d2af171b820d35c34899eb4 (patch) | |
tree | 80f219a4bedd91a8a848eda4ea62a460185e0564 /lib/public/DB | |
parent | d6b93e662024c35d02e8762d04c726c84c6c454a (diff) |
Made groupBy varadic
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/DB')
-rw-r--r-- | lib/public/DB/QueryBuilder/IQueryBuilder.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php index 876e77378e3..4f335c13c42 100644 --- a/lib/public/DB/QueryBuilder/IQueryBuilder.php +++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php @@ -609,12 +609,12 @@ interface IQueryBuilder { * ->groupBy('u.id'); * </code> * - * @param mixed $groupBy The grouping expression. + * @param mixed ...$groupBys The grouping expression. * * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. * @since 8.2.0 */ - public function groupBy($groupBy); + public function groupBy(...$groupBys); /** * Adds a grouping expression to the query. |