diff --git a/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php b/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php index e9096c99b44..b0acd89910c 100644 --- a/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php +++ b/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php @@ -43,7 +43,7 @@ class BackgroundCleanupUpdaterBackupsJob extends QueuedJob { /** * This job cleans up all backups except the latest 3 from the updaters backup directory */ - public function run($arguments) { + public function run($arguments): void { $updateDir = $this->config->getSystemValue('updatedirectory', null) ?? $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data'); $instanceId = $this->config->getSystemValue('instanceid', null); diff --git a/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php b/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php index decfbc08ea2..7562436d6f2 100644 --- a/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php +++ b/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php @@ -40,7 +40,7 @@ class LookupServerSendCheckBackgroundJob extends QueuedJob { parent::__construct($time); } - public function run($arguments) { + public function run($arguments): void { $this->userManager->callForSeenUsers(function (IUser $user) { $this->config->setUserValue($user->getUID(), 'lookup_server_connector', 'dataSend', '1'); });