aboutsummaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-09-23 15:10:30 +0200
committerGitHub <noreply@github.com>2024-09-23 15:10:30 +0200
commit8927510685f59555cf337866370b572934e41408 (patch)
treea62f3441fce0ff3ea51455dba9a6ca0fc207933d /apps/updatenotification/lib
parentd4839b962bad250ab1aa1c40e16c2408ae53a8b2 (diff)
parent98efa3bda838065fb9ff5740f2688fe2b526ae2d (diff)
downloadnextcloud-server-8927510685f59555cf337866370b572934e41408.tar.gz
nextcloud-server-8927510685f59555cf337866370b572934e41408.zip
Merge pull request #48223 from nextcloud/feat/add-rector-config
Add rector config
Diffstat (limited to 'apps/updatenotification/lib')
-rw-r--r--apps/updatenotification/lib/AppInfo/Application.php2
-rw-r--r--apps/updatenotification/lib/BackgroundJob/AppUpdatedNotifications.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/updatenotification/lib/AppInfo/Application.php b/apps/updatenotification/lib/AppInfo/Application.php
index 6b6baafae44..bd48a0646cd 100644
--- a/apps/updatenotification/lib/AppInfo/Application.php
+++ b/apps/updatenotification/lib/AppInfo/Application.php
@@ -50,7 +50,7 @@ class Application extends App implements IBootstrap {
IAppManager $appManager,
IGroupManager $groupManager,
ContainerInterface $container,
- LoggerInterface $logger) {
+ LoggerInterface $logger): void {
if ($config->getSystemValue('updatechecker', true) !== true) {
// Updater check is disabled
return;
diff --git a/apps/updatenotification/lib/BackgroundJob/AppUpdatedNotifications.php b/apps/updatenotification/lib/BackgroundJob/AppUpdatedNotifications.php
index 2a501b3d66c..049390546ed 100644
--- a/apps/updatenotification/lib/BackgroundJob/AppUpdatedNotifications.php
+++ b/apps/updatenotification/lib/BackgroundJob/AppUpdatedNotifications.php
@@ -88,7 +88,7 @@ class AppUpdatedNotifications extends QueuedJob {
$isDefer = $this->notificationManager->defer();
// Notify all seen users about the app update
- $this->userManager->callForSeenUsers(function (IUser $user) use ($guestsEnabled, $appId, $notification) {
+ $this->userManager->callForSeenUsers(function (IUser $user) use ($guestsEnabled, $appId, $notification): void {
if (!$guestsEnabled && ($user->getBackendClassName() === '\OCA\Guests\UserBackend')) {
return;
}