mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-03 17:44:06 +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;
|
||||
|
||||
|
||||
use Sabre\DAV\Node;
|
||||
use Sabre\DAV\INode;
|
||||
|
||||
class SearchResult {
|
||||
/** @var Node */
|
||||
/** @var INode */
|
||||
public $node;
|
||||
/** @var string */
|
||||
public $href;
|
||||
|
|
@ -33,10 +33,10 @@ class SearchResult {
|
|||
/**
|
||||
* SearchResult constructor.
|
||||
*
|
||||
* @param Node $node
|
||||
* @param INode $node
|
||||
* @param string $href
|
||||
*/
|
||||
public function __construct(Node $node, $href) {
|
||||
public function __construct(INode $node, $href) {
|
||||
$this->node = $node;
|
||||
$this->href = $href;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue