From 5300bade475df764df9b47b99f6f4d6ad12a9ed6 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 15 Nov 2021 12:41:37 +0100 Subject: Allow NULL as well for limit, not integer only Signed-off-by: Joas Schilling --- lib/public/IDBConnection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/public/IDBConnection.php') 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 -- cgit v1.2.3