diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-08-19 17:54:00 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-19 18:16:35 +0200 |
commit | fedf9c69d9c84fc0399badef39ed765de72c08f1 (patch) | |
tree | bfaae1e7efb907cb236769fada35a9cd05ebf29e /lib/private/ContactsManager.php | |
parent | 60be722ee8781d9e94ecc66d62c0e5fcb7e3934e (diff) | |
download | nextcloud-server-fedf9c69d9c84fc0399badef39ed765de72c08f1.tar.gz nextcloud-server-fedf9c69d9c84fc0399badef39ed765de72c08f1.zip |
Use matching parameter names form interfaces and implementations
Found by Psalm 3.14.1
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/ContactsManager.php')
-rw-r--r-- | lib/private/ContactsManager.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/private/ContactsManager.php b/lib/private/ContactsManager.php index 999b6597978..984164106d2 100644 --- a/lib/private/ContactsManager.php +++ b/lib/private/ContactsManager.php @@ -69,11 +69,11 @@ 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 string $addressBookKey identifier of the address book in which the contact shall be deleted + * @param string $address_book_key identifier of the address book in which the contact shall be deleted * @return bool successful or not */ - public function delete($id, $addressBookKey) { - $addressBook = $this->getAddressBook($addressBookKey); + public function delete($id, $address_book_key) { + $addressBook = $this->getAddressBook($address_book_key); if (!$addressBook) { return null; } @@ -90,11 +90,11 @@ class ContactsManager implements IManager { * Otherwise the contact will be updated by replacing the entire data set. * * @param array $properties this array if key-value-pairs defines a contact - * @param string $addressBookKey identifier of the address book in which the contact shall be created or updated + * @param string $address_book_key identifier of the address book in which the contact shall be created or updated * @return array representing the contact just created or updated */ - public function createOrUpdate($properties, $addressBookKey) { - $addressBook = $this->getAddressBook($addressBookKey); + public function createOrUpdate($properties, $address_book_key) { + $addressBook = $this->getAddressBook($address_book_key); if (!$addressBook) { return null; } |