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/IDBConnection.php | |
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/IDBConnection.php')
-rw-r--r-- | lib/public/IDBConnection.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/IDBConnection.php b/lib/public/IDBConnection.php index cedf0429869..2fa7fa1ad36 100644 --- a/lib/public/IDBConnection.php +++ b/lib/public/IDBConnection.php @@ -86,8 +86,8 @@ interface IDBConnection { /** * Used to abstract the ownCloud database access away * @param string $sql the sql query with ? placeholder for params - * @param int $limit the maximum number of rows - * @param int $offset from which row we want to start + * @param int|null $limit the maximum number of rows + * @param int|null $offset from which row we want to start * @return IPreparedStatement The prepared statement. * @since 6.0.0 * @throws Exception since 21.0.0 |