diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-05 20:19:54 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-05 20:19:54 +0100 |
commit | 10ea45c916aceac368c8e6d4c6c7d7f4000c182f (patch) | |
tree | 687fc43c9c79cf7040f418e1a15d84a0911a0e11 /lib/public/contacts.php | |
parent | 77369d8164dfcd958cc2192dd8c86bfc15310cfd (diff) | |
download | nextcloud-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.php | 4 |
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()]); } |