aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/lib/BackgroundJob/RequestSharedSecret.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-11-30 10:00:14 +0100
committerGitHub <noreply@github.com>2020-11-30 10:00:14 +0100
commit9be5caa9371bc2acad3d0b517d0aa069c6635c77 (patch)
tree993bdb8d07b232e6b7e3e9a6e549f153cad42562 /apps/federation/lib/BackgroundJob/RequestSharedSecret.php
parent528516b69f8e8feaae88b033422947101f0369f5 (diff)
parent6166e1a157774b7c3c1ee8f304ef96ff2efe3e92 (diff)
downloadnextcloud-server-9be5caa9371bc2acad3d0b517d0aa069c6635c77.tar.gz
nextcloud-server-9be5caa9371bc2acad3d0b517d0aa069c6635c77.zip
Merge pull request #24340 from nextcloud/td/psalm/job_execute
Use proper OCP\BackgroundJobs\Job
Diffstat (limited to 'apps/federation/lib/BackgroundJob/RequestSharedSecret.php')
-rw-r--r--apps/federation/lib/BackgroundJob/RequestSharedSecret.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/federation/lib/BackgroundJob/RequestSharedSecret.php b/apps/federation/lib/BackgroundJob/RequestSharedSecret.php
index f577372bbae..1c9b2539b3d 100644
--- a/apps/federation/lib/BackgroundJob/RequestSharedSecret.php
+++ b/apps/federation/lib/BackgroundJob/RequestSharedSecret.php
@@ -31,12 +31,11 @@ namespace OCA\Federation\BackgroundJob;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Ring\Exception\RingException;
-use OC\BackgroundJob\Job;
-use OC\BackgroundJob\JobList;
use OCA\Federation\TrustedServers;
use OCP\AppFramework\Http;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\BackgroundJob\IJobList;
+use OCP\BackgroundJob\Job;
use OCP\Http\Client\IClient;
use OCP\Http\Client\IClientService;
use OCP\ILogger;
@@ -114,7 +113,7 @@ class RequestSharedSecret extends Job {
/**
* run the job, then remove it from the joblist
*
- * @param JobList $jobList
+ * @param IJobList $jobList
* @param ILogger|null $logger
*/
public function execute(IJobList $jobList, ILogger $logger = null) {
@@ -134,7 +133,7 @@ class RequestSharedSecret extends Job {
/**
* call execute() method of parent
*
- * @param JobList $jobList
+ * @param IJobList $jobList
* @param ILogger $logger
*/
protected function parentExecute($jobList, $logger) {