adjust to older library version

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2018-07-18 16:01:56 +02:00
parent 94a367910e
commit 1a1b7b1d33
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
namespace OCA\DAV\Files;
use SearchDAV\Backend\ISearchBackend;
use SearchDAV\Query\Query;
use SearchDAV\XML\BasicSearch;
class LazySearchBackend implements ISearchBackend {
/**
@ -60,7 +60,7 @@ class LazySearchBackend implements ISearchBackend {
}
}
public function search(Query $query) {
public function search(BasicSearch $query) {
if ($this->backend) {
return $this->backend->search($query);
} else {