From 28b0da59ce84eec55d3e6f38fe64ea40560cc0df Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 12 May 2022 17:32:47 +0200 Subject: Fix a doctype in OCP for IAddressBook Signed-off-by: Thomas Citharel --- lib/private/ContactsManager.php | 3 ++- lib/public/Contacts/IManager.php | 2 +- lib/public/IAddressBook.php | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/private/ContactsManager.php b/lib/private/ContactsManager.php index 937fb94a09a..68783e3f79b 100644 --- a/lib/private/ContactsManager.php +++ b/lib/private/ContactsManager.php @@ -6,6 +6,7 @@ * @author Joas Schilling * @author John Molakvoæ * @author Morris Jobke + * @author Thomas Citharel * @author Thomas Müller * @author Tobia De Koninck * @@ -85,7 +86,7 @@ class ContactsManager implements IManager { /** * This function can be used to delete the contact identified by the given id * - * @param object $id the unique identifier to a contact + * @param int $id the unique identifier to a contact * @param string $address_book_key identifier of the address book in which the contact shall be deleted * @return bool successful or not */ diff --git a/lib/public/Contacts/IManager.php b/lib/public/Contacts/IManager.php index e9bdc01c060..65be12c4c39 100644 --- a/lib/public/Contacts/IManager.php +++ b/lib/public/Contacts/IManager.php @@ -105,7 +105,7 @@ interface IManager { /** * This function can be used to delete the contact identified by the given id * - * @param object $id the unique identifier to a contact + * @param int $id the unique identifier to a contact * @param string $address_book_key identifier of the address book in which the contact shall be deleted * @return bool successful or not * @since 6.0.0 diff --git a/lib/public/IAddressBook.php b/lib/public/IAddressBook.php index ee57dbceb71..8df9a0c007d 100644 --- a/lib/public/IAddressBook.php +++ b/lib/public/IAddressBook.php @@ -10,6 +10,7 @@ * @author Morris Jobke * @author Robin McCorkell * @author Roeland Jago Douma + * @author Thomas Citharel * @author Thomas Müller * * @license AGPL-3.0 @@ -97,7 +98,7 @@ namespace OCP { public function getPermissions(); /** - * @param object $id the unique identifier to a contact + * @param int $id the unique identifier to a contact * @return bool successful or not * @since 5.0.0 */ -- cgit v1.2.3