diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-13 11:32:31 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-13 11:32:31 +0300 |
commit | 0009358c17b4c84d94efc94ed91d097d11e4321a (patch) | |
tree | 019610ee3d0d4f093d44c13a2fd63acd73a8b1a1 /lib/public/DB | |
parent | 408c2103db9dd5d981873544701cb69d01ffba9c (diff) |
Made orHaving 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 c27a0cb9643..7fea31f4688 100644 --- a/lib/public/DB/QueryBuilder/IQueryBuilder.php +++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php @@ -704,12 +704,12 @@ interface IQueryBuilder { * Adds a restriction over the groups of the query, forming a logical * disjunction with any existing having restrictions. * - * @param mixed $having The restriction to add. + * @param mixed ...$having The restriction to add. * * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. * @since 8.2.0 */ - public function orHaving($having); + public function orHaving(...$having); /** * Specifies an ordering for the query results. |