summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-01-07 12:16:46 +0100
committerGitHub <noreply@github.com>2022-01-07 12:16:46 +0100
commit55986382e8bc7d5f94047b0f25a1057a1d882674 (patch)
tree54b7483c893adc846a73af9d15691a941f34beda /lib/public
parente65431d0495cb058bebe75d5e8b9ab87110cf97f (diff)
parentf732cf1b040f39bb2922004e80972314cf2a28e2 (diff)
downloadnextcloud-server-55986382e8bc7d5f94047b0f25a1057a1d882674.tar.gz
nextcloud-server-55986382e8bc7d5f94047b0f25a1057a1d882674.zip
Merge pull request #30378 from nextcloud/feature/accept-multiple-args-on-concat
Accept multipe args on concat
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/DB/QueryBuilder/IFunctionBuilder.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/DB/QueryBuilder/IFunctionBuilder.php b/lib/public/DB/QueryBuilder/IFunctionBuilder.php
index 1e8d8c89f81..04c5cbd07bd 100644
--- a/lib/public/DB/QueryBuilder/IFunctionBuilder.php
+++ b/lib/public/DB/QueryBuilder/IFunctionBuilder.php
@@ -43,13 +43,13 @@ interface IFunctionBuilder {
/**
* Combines two input strings
*
- * @param string|ILiteral|IParameter|IQueryFunction $x The first input string
- * @param string|ILiteral|IParameter|IQueryFunction $y The second input string
+ * @param string|ILiteral|IParameter|IQueryFunction $x Expressions or literal strings
+ * @param string|ILiteral|IParameter|IQueryFunction ...$exprs Expressions or literal strings
*
* @return IQueryFunction
* @since 12.0.0
*/
- public function concat($x, $y): IQueryFunction;
+ public function concat($x, ...$expr): IQueryFunction;
/**
* Returns a string which is the concatenation of all non-NULL values of X