summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CardDAV/Activity/Backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/CardDAV/Activity/Backend.php')
-rw-r--r--apps/dav/lib/CardDAV/Activity/Backend.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/dav/lib/CardDAV/Activity/Backend.php b/apps/dav/lib/CardDAV/Activity/Backend.php
index d720e89e848..f23eee9d9ab 100644
--- a/apps/dav/lib/CardDAV/Activity/Backend.php
+++ b/apps/dav/lib/CardDAV/Activity/Backend.php
@@ -75,22 +75,22 @@ class Backend {
/**
* Creates activities when a calendar was updated
*
- * @param array $calendarData
+ * @param array $addressbookData
* @param array $shares
* @param array $properties
*/
- public function onAddressbookUpdate(array $calendarData, array $shares, array $properties): void {
- $this->triggerAddressbookActivity(Addressbook::SUBJECT_UPDATE, $calendarData, $shares, $properties);
+ public function onAddressbookUpdate(array $addressbookData, array $shares, array $properties): void {
+ $this->triggerAddressbookActivity(Addressbook::SUBJECT_UPDATE, $addressbookData, $shares, $properties);
}
/**
* Creates activities when a calendar was deleted
*
- * @param array $calendarData
+ * @param array $addressbookData
* @param array $shares
*/
- public function onAddressbookDelete(array $calendarData, array $shares): void {
- $this->triggerAddressbookActivity(Addressbook::SUBJECT_DELETE, $calendarData, $shares);
+ public function onAddressbookDelete(array $addressbookData, array $shares): void {
+ $this->triggerAddressbookActivity(Addressbook::SUBJECT_DELETE, $addressbookData, $shares);
}
/**
@@ -458,7 +458,7 @@ class Backend {
* @param array $shares
* @return string[]
*/
- protected function getUsersForShares(array $shares) {
+ protected function getUsersForShares(array $shares): array {
$users = $groups = [];
foreach ($shares as $share) {
$principal = explode('/', $share['{http://owncloud.org/ns}principal']);