aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/BackgroundJob
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/BackgroundJob')
-rw-r--r--lib/private/BackgroundJob/Job.php3
-rw-r--r--lib/private/BackgroundJob/TimedJob.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/BackgroundJob/Job.php b/lib/private/BackgroundJob/Job.php
index f0b780d0c70..30326b6a4f4 100644
--- a/lib/private/BackgroundJob/Job.php
+++ b/lib/private/BackgroundJob/Job.php
@@ -28,6 +28,7 @@
namespace OC\BackgroundJob;
use OCP\BackgroundJob\IJob;
+use OCP\BackgroundJob\IJobList;
use OCP\ILogger;
abstract class Job implements IJob {
@@ -47,7 +48,7 @@ abstract class Job implements IJob {
protected $argument;
/**
- * @param JobList $jobList
+ * @param IJobList $jobList
* @param ILogger|null $logger
*/
public function execute($jobList, ILogger $logger = null) {
diff --git a/lib/private/BackgroundJob/TimedJob.php b/lib/private/BackgroundJob/TimedJob.php
index e5dfeb96c9c..d33cdd90b37 100644
--- a/lib/private/BackgroundJob/TimedJob.php
+++ b/lib/private/BackgroundJob/TimedJob.php
@@ -25,6 +25,7 @@
namespace OC\BackgroundJob;
+use OCP\BackgroundJob\IJobList;
use OCP\ILogger;
/**
@@ -49,7 +50,7 @@ abstract class TimedJob extends Job {
/**
* run the job if
*
- * @param JobList $jobList
+ * @param IJobList $jobList
* @param ILogger|null $logger
*/
public function execute($jobList, ILogger $logger = null) {