aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-10-18 07:09:08 +0200
committerJoas Schilling <coding@schilljs.com>2023-10-18 07:09:08 +0200
commit15a7aa51c5a554726d7d1bbcd1ba445d7021eadd (patch)
tree870881d73423bfbcdad44b991052a3bfad62684c
parent1f8c21a581227d330248f7fd01240287052875a1 (diff)
downloadnextcloud-server-15a7aa51c5a554726d7d1bbcd1ba445d7021eadd.tar.gz
nextcloud-server-15a7aa51c5a554726d7d1bbcd1ba445d7021eadd.zip
fix(dbal): Fix types in query builder methods for parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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