aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Search/Provider/File.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Search/Provider/File.php')
-rw-r--r--lib/private/Search/Provider/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Search/Provider/File.php b/lib/private/Search/Provider/File.php
index 5ec0132cc03..6522e9db5a0 100644
--- a/lib/private/Search/Provider/File.php
+++ b/lib/private/Search/Provider/File.php
@@ -51,7 +51,7 @@ class File extends PagedProvider {
* @return \OCP\Search\Result[]
* @deprecated 20.0.0
*/
- public function search($query, int $limit = null, int $offset = null) {
+ public function search($query, ?int $limit = null, ?int $offset = null) {
/** @var IRootFolder $rootFolder */
$rootFolder = \OCP\Server::get(IRootFolder::class);
/** @var IUserSession $userSession */