diff options
author | Joas Schilling <coding@schilljs.com> | 2021-11-02 23:42:57 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-11-15 18:51:28 +0100 |
commit | 5bb49feef805cab740a17da903f584ddbb3240f8 (patch) | |
tree | c19a3fd143948ca696c5d9575a079afb25df8e79 /lib/public/DB | |
parent | 788a1fcca4b84e7bcf8f93826c968688077a81f9 (diff) | |
download | nextcloud-server-5bb49feef805cab740a17da903f584ddbb3240f8.tar.gz nextcloud-server-5bb49feef805cab740a17da903f584ddbb3240f8.zip |
Allow NULL as well for limit, not integer only
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/DB')
-rw-r--r-- | lib/public/DB/QueryBuilder/IQueryBuilder.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php index 5d1116075d8..7829696970c 100644 --- a/lib/public/DB/QueryBuilder/IQueryBuilder.php +++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php @@ -280,7 +280,7 @@ interface IQueryBuilder { /** * Sets the position of the first result to retrieve (the "offset"). * - * @param integer $firstResult The first result to return. + * @param int $firstResult The first result to return. * * @return $this This QueryBuilder instance. * @since 8.2.0 @@ -299,7 +299,7 @@ interface IQueryBuilder { /** * Sets the maximum number of results to retrieve (the "limit"). * - * @param integer $maxResults The maximum number of results to retrieve. + * @param int|null $maxResults The maximum number of results to retrieve. * * @return $this This QueryBuilder instance. * @since 8.2.0 |