From a01da78f1d604882745cfe0ef537772d391376de Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sat, 3 Oct 2020 16:33:42 +0200 Subject: [PATCH] Add explicit typecast for $value. Signed-off-by: Daniel Kesselberg --- lib/private/DB/QueryBuilder/QueryBuilder.php | 2 +- lib/public/DB/QueryBuilder/IQueryBuilder.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/DB/QueryBuilder/QueryBuilder.php b/lib/private/DB/QueryBuilder/QueryBuilder.php index 4fde0fb451..0b4f983129 100644 --- a/lib/private/DB/QueryBuilder/QueryBuilder.php +++ b/lib/private/DB/QueryBuilder/QueryBuilder.php @@ -868,7 +868,7 @@ class QueryBuilder implements IQueryBuilder { * * * @param string $column The column into which the value should be inserted. - * @param string $value The value that should be inserted into the column. + * @param IParameter|string $value The value that should be inserted into the column. * * @return $this This QueryBuilder instance. */ diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php index 3a9c846043..c1e7f6bc4f 100644 --- a/lib/public/DB/QueryBuilder/IQueryBuilder.php +++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php @@ -651,7 +651,7 @@ interface IQueryBuilder { * * * @param string $column The column into which the value should be inserted. - * @param string $value The value that should be inserted into the column. + * @param IParameter|string $value The value that should be inserted into the column. * * @return $this This QueryBuilder instance. * @since 8.2.0