From 10ea45c916aceac368c8e6d4c6c7d7f4000c182f Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Tue, 5 Feb 2013 20:19:54 +0100 Subject: [PATCH] fix failing test cases due to wrong typing --- lib/public/contacts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/public/contacts.php b/lib/public/contacts.php index 88d812e735..44d82c3790 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()]); }