Update signature for set

also ILiteral and IQueryFunction are valid.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2020-10-02 19:15:34 +02:00
parent 8fdb74bdd5
commit 64b10f61df
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614
2 changed files with 3 additions and 2 deletions

View File

@ -42,6 +42,7 @@ use OC\DB\QueryBuilder\FunctionBuilder\OCIFunctionBuilder;
use OC\DB\QueryBuilder\FunctionBuilder\PgSqlFunctionBuilder;
use OC\DB\QueryBuilder\FunctionBuilder\SqliteFunctionBuilder;
use OC\SystemConfig;
use OCP\DB\QueryBuilder\ILiteral;
use OCP\DB\QueryBuilder\IParameter;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\DB\QueryBuilder\IQueryFunction;
@ -695,7 +696,7 @@ class QueryBuilder implements IQueryBuilder {
* </code>
*
* @param string $key The column to set.
* @param IParameter|string $value The value, expression, placeholder, etc.
* @param ILiteral|IParameter|IQueryFunction|string $value The value, expression, placeholder, etc.
*
* @return $this This QueryBuilder instance.
*/

View File

@ -522,7 +522,7 @@ interface IQueryBuilder {
* </code>
*
* @param string $key The column to set.
* @param IParameter|string $value The value, expression, placeholder, etc.
* @param ILiteral|IParameter|IQueryFunction|string $value The value, expression, placeholder, etc.
*
* @return $this This QueryBuilder instance.
* @since 8.2.0