diff --git a/lib/search/contact.php b/lib/search/contact.php index ae0113ae..664a7868 100644 --- a/lib/search/contact.php +++ b/lib/search/contact.php @@ -23,7 +23,7 @@ namespace OCA\Contacts\Search; /** * A contact search result */ -class Contact extends \OC\Search\Result { +class Contact extends \OCP\Search\Result { /** * Type name; translated in templates @@ -71,7 +71,7 @@ class Contact extends \OC\Search\Result { * Constructor * * @param array $data - * @return \OCA\Calendar\Search\Contact + * @return \OCA\Contacts\Search\Contact */ public function __construct(array $data = null) { $this->id = $data['id']; diff --git a/lib/search/provider.php b/lib/search/provider.php index 2a5d398a..df5236e7 100644 --- a/lib/search/provider.php +++ b/lib/search/provider.php @@ -23,7 +23,7 @@ namespace OCA\Contacts\Search; /** * The updated contacts search provider */ -class Provider extends \OC\Search\Provider { +class Provider extends \OCP\Search\Provider { /** * Search for contacts