fix failing test cases due to wrong typing
This commit is contained in:
parent
77369d8164
commit
10ea45c916
1 changed files with 2 additions and 2 deletions
|
@ -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()]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue