summaryrefslogtreecommitdiffstats
path: root/lib/public/DB/QueryBuilder/IExpressionBuilder.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/DB/QueryBuilder/IExpressionBuilder.php')
-rw-r--r--lib/public/DB/QueryBuilder/IExpressionBuilder.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/DB/QueryBuilder/IExpressionBuilder.php b/lib/public/DB/QueryBuilder/IExpressionBuilder.php
index b3dbf564e35..77701240d51 100644
--- a/lib/public/DB/QueryBuilder/IExpressionBuilder.php
+++ b/lib/public/DB/QueryBuilder/IExpressionBuilder.php
@@ -431,7 +431,7 @@ interface IExpressionBuilder {
/**
* Returns a IQueryFunction that casts the column to the given type
*
- * @param string $column
+ * @param string|IQueryFunction $column
* @param mixed $type One of IQueryBuilder::PARAM_*
* @return IQueryFunction
* @since 9.0.0
@@ -439,5 +439,5 @@ interface IExpressionBuilder {
* @psalm-taint-sink sql $column
* @psalm-taint-sink sql $type
*/
- public function castColumn(string $column, $type): IQueryFunction;
+ public function castColumn($column, $type): IQueryFunction;
}