mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-03 09:34:08 +02:00
fix travis
This commit is contained in:
parent
695bb7c694
commit
d609774b97
6 changed files with 11 additions and 39 deletions
|
|
@ -34,11 +34,11 @@ class DummyBackend implements ISearchBackend {
|
|||
return '';
|
||||
}
|
||||
|
||||
public function isValidScope($href, $depth) {
|
||||
public function isValidScope($href, $depth, $path) {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function getPropertyDefinitionsForScope($href) {
|
||||
public function getPropertyDefinitionsForScope($href, $path) {
|
||||
return [
|
||||
new SearchPropertyDefinition('{DAV:}getcontentlength', true, true, true, SearchPropertyDefinition::DATATYPE_NONNEGATIVE_INTEGER),
|
||||
new SearchPropertyDefinition('{DAV:}getcontenttype', true, true, true),
|
||||
|
|
@ -47,7 +47,7 @@ class DummyBackend implements ISearchBackend {
|
|||
];
|
||||
}
|
||||
|
||||
public function search(INode $searchNode, BasicSearch $query) {
|
||||
public function search(BasicSearch $query) {
|
||||
return [
|
||||
new SearchResult(new SimpleFile('foo.txt', 'foobar', 'text/plain'), '/bar/foo.txt')
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue