aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-10-18 11:41:29 +0200
committerGitHub <noreply@github.com>2023-10-18 11:41:29 +0200
commit9bdf98f699e8c484d19fd6210c50765f36bd08ee (patch)
tree5d3032f4e20a7ce2de66377ca3a10b7455db9f22 /lib
parent80893480c1e95796ed5154e0cad166aa76e1bc24 (diff)
parent15a7aa51c5a554726d7d1bbcd1ba445d7021eadd (diff)
downloadnextcloud-server-9bdf98f699e8c484d19fd6210c50765f36bd08ee.tar.gz
nextcloud-server-9bdf98f699e8c484d19fd6210c50765f36bd08ee.zip
Merge pull request #40959 from nextcloud/bugfix/noid/fix-types-in-querybuilder
fix(dbal): Fix types in query builder methods for parameters
Diffstat (limited to 'lib')
-rw-r--r--lib/private/DB/QueryBuilder/QueryBuilder.php4
-rw-r--r--lib/public/DB/QueryBuilder/IQueryBuilder.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/DB/QueryBuilder/QueryBuilder.php b/lib/private/DB/QueryBuilder/QueryBuilder.php
index 2f97b4a146c..30dc02b0c16 100644
--- a/lib/private/DB/QueryBuilder/QueryBuilder.php
+++ b/lib/private/DB/QueryBuilder/QueryBuilder.php
@@ -1202,7 +1202,7 @@ class QueryBuilder implements IQueryBuilder {
* @link http://www.zetacomponents.org
*
* @param mixed $value
- * @param mixed $type
+ * @param IQueryBuilder::PARAM_* $type
* @param string $placeHolder The name to bind with. The string must start with a colon ':'.
*
* @return IParameter the placeholder name used.
@@ -1229,7 +1229,7 @@ class QueryBuilder implements IQueryBuilder {
* </code>
*
* @param mixed $value
- * @param integer $type
+ * @param IQueryBuilder::PARAM_* $type
*
* @return IParameter
*/
diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php
index 491ac6d8e2f..dba5f390d6e 100644
--- a/lib/public/DB/QueryBuilder/IQueryBuilder.php
+++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php
@@ -908,7 +908,7 @@ interface IQueryBuilder {
* @link http://www.zetacomponents.org
*
* @param mixed $value
- * @param mixed $type
+ * @param self::PARAM_* $type
* @param string $placeHolder The name to bind with. The string must start with a colon ':'.
*
* @return IParameter
@@ -936,7 +936,7 @@ interface IQueryBuilder {
* </code>
*
* @param mixed $value
- * @param integer $type
+ * @param self::PARAM_* $type
*
* @return IParameter
* @since 8.2.0