summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-14 20:15:16 +0200
committerGitHub <noreply@github.com>2020-08-14 20:15:16 +0200
commitfb4e9898822396a206ef6b14bf2566e961eeafbb (patch)
treedbc4757af02e2786b7d8c0fbc83b5aa66aeec76c
parent6e8e34fef920a073118c22111f0f31eb3b3a91dc (diff)
parent10ac844448307f51593f92bbf561e1b3f3a1740e (diff)
downloadnextcloud-server-fb4e9898822396a206ef6b14bf2566e961eeafbb.tar.gz
nextcloud-server-fb4e9898822396a206ef6b14bf2566e961eeafbb.zip
Merge pull request #22257 from nextcloud/debt/noid/add-parameter-to-set
Update documentation for QueryBuilder::set
-rw-r--r--lib/private/DB/QueryBuilder/QueryBuilder.php2
-rw-r--r--lib/public/DB/QueryBuilder/IQueryBuilder.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/DB/QueryBuilder/QueryBuilder.php b/lib/private/DB/QueryBuilder/QueryBuilder.php
index a2941950d5c..ff2166f53e6 100644
--- a/lib/private/DB/QueryBuilder/QueryBuilder.php
+++ b/lib/private/DB/QueryBuilder/QueryBuilder.php
@@ -694,7 +694,7 @@ class QueryBuilder implements IQueryBuilder {
* </code>
*
* @param string $key The column to set.
- * @param string $value The value, expression, placeholder, etc.
+ * @param IParameter|string $value The value, expression, placeholder, etc.
*
* @return $this This QueryBuilder instance.
*/
diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php
index bb0ed6b205c..7787eb877f0 100644
--- a/lib/public/DB/QueryBuilder/IQueryBuilder.php
+++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php
@@ -521,7 +521,7 @@ interface IQueryBuilder {
* </code>
*
* @param string $key The column to set.
- * @param string $value The value, expression, placeholder, etc.
+ * @param IParameter|string $value The value, expression, placeholder, etc.
*
* @return $this This QueryBuilder instance.
* @since 8.2.0