summaryrefslogtreecommitdiffstats
path: root/lib/public/DB
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-13 09:28:27 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-13 09:28:27 +0100
commitd6b93e662024c35d02e8762d04c726c84c6c454a (patch)
tree22e72b1005bad76d0552a3b2a64184cd2fe7d623 /lib/public/DB
parent07cb6aaeff6c2b82265f078178384f2674ca24f3 (diff)
downloadnextcloud-server-d6b93e662024c35d02e8762d04c726c84c6c454a.tar.gz
nextcloud-server-d6b93e662024c35d02e8762d04c726c84c6c454a.zip
Made orWhere varadic
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/DB')
-rw-r--r--lib/public/DB/QueryBuilder/IQueryBuilder.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php
index 5d6aadc13eb..876e77378e3 100644
--- a/lib/public/DB/QueryBuilder/IQueryBuilder.php
+++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php
@@ -568,7 +568,7 @@ interface IQueryBuilder {
* ->andWhere('u.is_active = 1');
* </code>
*
- * @param mixed $where The query restrictions.
+ * @param mixed ...$where The query restrictions.
*
* @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance.
*
@@ -589,14 +589,14 @@ interface IQueryBuilder {
* ->orWhere('u.id = 2');
* </code>
*
- * @param mixed $where The WHERE statement.
+ * @param mixed ...$where The WHERE statement.
*
* @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance.
*
* @see where()
* @since 8.2.0
*/
- public function orWhere($where);
+ public function orWhere(...$where);
/**
* Specifies a grouping over the results of the query.