mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-04 01:54:07 +02:00
use the correct interface for search result
This commit is contained in:
parent
dd4eec1ea0
commit
50b56db31b
1 changed files with 4 additions and 4 deletions
|
|
@ -22,10 +22,10 @@
|
||||||
namespace SearchDAV\Backend;
|
namespace SearchDAV\Backend;
|
||||||
|
|
||||||
|
|
||||||
use Sabre\DAV\Node;
|
use Sabre\DAV\INode;
|
||||||
|
|
||||||
class SearchResult {
|
class SearchResult {
|
||||||
/** @var Node */
|
/** @var INode */
|
||||||
public $node;
|
public $node;
|
||||||
/** @var string */
|
/** @var string */
|
||||||
public $href;
|
public $href;
|
||||||
|
|
@ -33,10 +33,10 @@ class SearchResult {
|
||||||
/**
|
/**
|
||||||
* SearchResult constructor.
|
* SearchResult constructor.
|
||||||
*
|
*
|
||||||
* @param Node $node
|
* @param INode $node
|
||||||
* @param string $href
|
* @param string $href
|
||||||
*/
|
*/
|
||||||
public function __construct(Node $node, $href) {
|
public function __construct(INode $node, $href) {
|
||||||
$this->node = $node;
|
$this->node = $node;
|
||||||
$this->href = $href;
|
$this->href = $href;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue