diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-13 11:31:04 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-13 11:31:04 +0300 |
commit | 2c585afea1f0835566ff4bbad027aa57b5564afb (patch) | |
tree | d9fdc730eb90289a035d115460aee90ee43edb5d /lib/public/DB | |
parent | c6eba3c925cbdd7d305a21588af421ca5e6986f9 (diff) |
Make having 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 e6f4b43c24c..aec8e264778 100644 --- a/lib/public/DB/QueryBuilder/IQueryBuilder.php +++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php @@ -682,12 +682,12 @@ interface IQueryBuilder { * Specifies a restriction over the groups of the query. * Replaces any previous having restrictions, if any. * - * @param mixed $having The restriction over the groups. + * @param mixed ...$having The restriction over the groups. * * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. * @since 8.2.0 */ - public function having($having); + public function having(...$having); /** * Adds a restriction over the groups of the query, forming a logical |