summaryrefslogtreecommitdiffstats
path: root/lib/public/contacts.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-05 20:19:54 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-05 20:19:54 +0100
commit10ea45c916aceac368c8e6d4c6c7d7f4000c182f (patch)
tree687fc43c9c79cf7040f418e1a15d84a0911a0e11 /lib/public/contacts.php
parent77369d8164dfcd958cc2192dd8c86bfc15310cfd (diff)
downloadnextcloud-server-10ea45c916aceac368c8e6d4c6c7d7f4000c182f.tar.gz
nextcloud-server-10ea45c916aceac368c8e6d4c6c7d7f4000c182f.zip
fix failing test cases due to wrong typing
Diffstat (limited to 'lib/public/contacts.php')
-rw-r--r--lib/public/contacts.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/contacts.php b/lib/public/contacts.php
index 88d812e735a..44d82c37908 100644
--- a/lib/public/contacts.php
+++ b/lib/public/contacts.php
@@ -149,14 +149,14 @@ namespace OCP {
/**
* @param \OCP\IAddressBook $address_book
*/
- public static function registerAddressBook(\OCP\IAddressBook $address_book) {
+ public static function registerAddressBook($address_book) {
self::$address_books[$address_book->getKey()] = $address_book;
}
/**
* @param \OCP\IAddressBook $address_book
*/
- public static function unregisterAddressBook(\OCP\IAddressBook $address_book) {
+ public static function unregisterAddressBook($address_book) {
unset(self::$address_books[$address_book->getKey()]);
}