Function also accepts ints

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
pull/5847/head
Lukas Reschke 2017-07-19 20:02:05 +07:00 committed by Roeland Jago Douma
parent fd059a25d3
commit 66b8208791
No known key found for this signature in database
GPG Key ID: F941078878347C0C
2 changed files with 2 additions and 2 deletions

@ -242,7 +242,7 @@ class QueryBuilder implements IQueryBuilder {
*
* @param string|integer $key The parameter position or name.
* @param mixed $value The parameter value.
* @param string|null $type One of the IQueryBuilder::PARAM_* constants.
* @param string|null|int $type One of the IQueryBuilder::PARAM_* constants.
*
* @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance.
*/

@ -176,7 +176,7 @@ interface IQueryBuilder {
*
* @param string|integer $key The parameter position or name.
* @param mixed $value The parameter value.
* @param string|null $type One of the IQueryBuilder::PARAM_* constants.
* @param string|null|int $type One of the IQueryBuilder::PARAM_* constants.
*
* @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance.
* @since 8.2.0