diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-10-26 23:01:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 23:01:23 +0100 |
commit | a150f2a198bff2eb5a936a53c089a05ec7800046 (patch) | |
tree | 643f5a10ba7c83914fe8cefbbdbde813ea9d9dc7 /apps/federation | |
parent | 0f52e14a929ec00c887bc886925dc58eba649c80 (diff) | |
parent | 1f2ff18439ddc4067d97613b20c9081cecf8424f (diff) | |
download | nextcloud-server-a150f2a198bff2eb5a936a53c089a05ec7800046.tar.gz nextcloud-server-a150f2a198bff2eb5a936a53c089a05ec7800046.zip |
Merge pull request #23701 from nextcloud/fix/fed/bg_signatures
Make sure the function signatures of the backgroundjob match
Diffstat (limited to 'apps/federation')
-rw-r--r-- | apps/federation/lib/BackgroundJob/GetSharedSecret.php | 2 | ||||
-rw-r--r-- | apps/federation/lib/BackgroundJob/RequestSharedSecret.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/federation/lib/BackgroundJob/GetSharedSecret.php b/apps/federation/lib/BackgroundJob/GetSharedSecret.php index c86c7f1d75a..669de02ec5c 100644 --- a/apps/federation/lib/BackgroundJob/GetSharedSecret.php +++ b/apps/federation/lib/BackgroundJob/GetSharedSecret.php @@ -118,7 +118,7 @@ class GetSharedSecret extends Job { * @param JobList $jobList * @param ILogger|null $logger */ - public function execute($jobList, ILogger $logger = null) { + public function execute(IJobList $jobList, ILogger $logger = null) { $target = $this->argument['url']; // only execute if target is still in the list of trusted domains if ($this->trustedServers->isTrustedServer($target)) { diff --git a/apps/federation/lib/BackgroundJob/RequestSharedSecret.php b/apps/federation/lib/BackgroundJob/RequestSharedSecret.php index 990f5025bf5..f577372bbae 100644 --- a/apps/federation/lib/BackgroundJob/RequestSharedSecret.php +++ b/apps/federation/lib/BackgroundJob/RequestSharedSecret.php @@ -117,7 +117,7 @@ class RequestSharedSecret extends Job { * @param JobList $jobList * @param ILogger|null $logger */ - public function execute($jobList, ILogger $logger = null) { + public function execute(IJobList $jobList, ILogger $logger = null) { $target = $this->argument['url']; // only execute if target is still in the list of trusted domains if ($this->trustedServers->isTrustedServer($target)) { |