summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/External/Manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/External/Manager.php')
-rw-r--r--apps/files_sharing/lib/External/Manager.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/files_sharing/lib/External/Manager.php b/apps/files_sharing/lib/External/Manager.php
index b9ed4acd57f..68bc6801e46 100644
--- a/apps/files_sharing/lib/External/Manager.php
+++ b/apps/files_sharing/lib/External/Manager.php
@@ -447,14 +447,11 @@ class Manager {
return $result;
}
- /**
- * @param int $remoteShare
- */
- public function processNotification($remoteShare) {
+ public function processNotification(int $remoteShare): void {
$filter = $this->notificationManager->createNotification();
$filter->setApp('files_sharing')
->setUser($this->uid)
- ->setObject('remote_share', (int) $remoteShare);
+ ->setObject('remote_share', (string)$remoteShare);
$this->notificationManager->markProcessed($filter);
}