]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix failing test cases due to wrong typing
authorThomas Mueller <thomas.mueller@tmit.eu>
Tue, 5 Feb 2013 19:19:54 +0000 (20:19 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Tue, 5 Feb 2013 19:19:54 +0000 (20:19 +0100)
lib/public/contacts.php

index 88d812e735a857b79e47cb85b712ab9801836711..44d82c37908260775f387de82f1f81921b4207ce 100644 (file)
@@ -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()]);
                }