Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-07-07 15:20:24 +0300
committerJoas Schilling <coding@schilljs.com>2021-07-07 15:20:24 +0300
commitaae16c21e66847cd12cbf3084a102b923a7717ce (patch)
tree865ae8349e342aefc00c29903b841ec4fdca7869 /lib/public/DB
parent11d21e5f5c9e449a75ba24be9c018980496339e8 (diff)
Allow casting query functions as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/DB')
-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;
}