summaryrefslogtreecommitdiffstats
path: root/lib/public/contacts.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-06 17:37:47 +0100
committerBart Visscher <bartv@thisnet.nl>2013-02-06 17:37:47 +0100
commita4d3cc798fe8b9ee4d0c13ee89059129b265c6b8 (patch)
treefed3ef65bbd7abf8f57b984c048dfe75e7666f24 /lib/public/contacts.php
parent09a4424b1f9458bc0ee57c3b5f5c8a2d6a6c3c77 (diff)
downloadnextcloud-server-a4d3cc798fe8b9ee4d0c13ee89059129b265c6b8.tar.gz
nextcloud-server-a4d3cc798fe8b9ee4d0c13ee89059129b265c6b8.zip
Correct lib/public/contacts.php tests
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 44d82c37908..88d812e735a 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($address_book) {
+ public static function registerAddressBook(\OCP\IAddressBook $address_book) {
self::$address_books[$address_book->getKey()] = $address_book;
}
/**
* @param \OCP\IAddressBook $address_book
*/
- public static function unregisterAddressBook($address_book) {
+ public static function unregisterAddressBook(\OCP\IAddressBook $address_book) {
unset(self::$address_books[$address_book->getKey()]);
}