summaryrefslogtreecommitdiffstats
path: root/lib/public/DB/QueryBuilder
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-13 09:25:32 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-13 09:25:32 +0100
commit2976b3910251b18a039b663433a95e2cccaec5e9 (patch)
tree664bcf92909a1a8ac75e89205ead992e4e5c4e33 /lib/public/DB/QueryBuilder
parentc8aee70a0b9d4f873a7327c13bb6b4763a6299a3 (diff)
downloadnextcloud-server-2976b3910251b18a039b663433a95e2cccaec5e9.tar.gz
nextcloud-server-2976b3910251b18a039b663433a95e2cccaec5e9.zip
Made AddSelect varadic
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/DB/QueryBuilder')
-rw-r--r--lib/public/DB/QueryBuilder/IQueryBuilder.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php
index 70cc26f9a7e..760496064fd 100644
--- a/lib/public/DB/QueryBuilder/IQueryBuilder.php
+++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php
@@ -344,12 +344,12 @@ interface IQueryBuilder {
* ->leftJoin('u', 'phonenumbers', 'u.id = p.user_id');
* </code>
*
- * @param mixed $select The selection expression.
+ * @param mixed ...$select The selection expression.
*
* @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance.
* @since 8.2.0
*/
- public function addSelect($select = null);
+ public function addSelect(...$select);
/**
* Turns the query being built into a bulk delete query that ranges over