summaryrefslogtreecommitdiffstats
path: root/apps/lookup_server_connector
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-11-24 14:18:47 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2020-11-25 15:03:06 +0100
commit6166e1a157774b7c3c1ee8f304ef96ff2efe3e92 (patch)
tree4edbc6ae63ec8bd1d0982978524f0137e21ab6e2 /apps/lookup_server_connector
parentd4fd61b7c6df367899fc225784d3cea64206a542 (diff)
downloadnextcloud-server-6166e1a157774b7c3c1ee8f304ef96ff2efe3e92.tar.gz
nextcloud-server-6166e1a157774b7c3c1ee8f304ef96ff2efe3e92.zip
Use proper OCP\BackgroundJobs\Job
And typehunt the IJobList Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/lookup_server_connector')
-rw-r--r--apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php b/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
index 272d66e9491..889fcfd6277 100644
--- a/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
+++ b/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
@@ -95,7 +95,7 @@ class RetryJob extends Job {
* @param IJobList $jobList
* @param ILogger|null $logger
*/
- public function execute($jobList, ILogger $logger = null): void {
+ public function execute(IJobList $jobList, ILogger $logger = null): void {
if (!isset($this->argument['userId'])) {
// Old background job without user id, just drop it.
$jobList->remove($this, $this->argument);