use the correct interface for search result

This commit is contained in:
Robin Appelman 2017-02-02 18:13:03 +01:00
commit 50b56db31b

View file

@ -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;
} }