fix failing test cases due to wrong typing

This commit is contained in:
Thomas Mueller 2013-02-05 20:19:54 +01:00
parent 77369d8164
commit 10ea45c916

View 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()]);
}