diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-13 10:07:08 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-13 10:07:08 +0300 |
commit | c8aee70a0b9d4f873a7327c13bb6b4763a6299a3 (patch) | |
tree | 352e071a4d4c5dd55a82d35afc60c94433133026 /lib/public/DB | |
parent | 3cae27614932d3cb0780018551b14a4139f980fd (diff) |
Made select 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 7f179dd7e26..70cc26f9a7e 100644 --- a/lib/public/DB/QueryBuilder/IQueryBuilder.php +++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php @@ -292,12 +292,12 @@ interface IQueryBuilder { * ->leftJoin('u', 'phonenumbers', 'p', 'u.id = p.user_id'); * </code> * - * @param mixed $select The selection expressions. + * @param mixed ...$selects The selection expressions. * * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. * @since 8.2.0 */ - public function select($select = null); + public function select(...$selects); /** * Specifies an item that is to be returned with a different name in the query result. |