Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
namespace OC\BackgroundJob;
use OCP\BackgroundJob\IJob;
+use OCP\BackgroundJob\IJobList;
use OCP\ILogger;
abstract class Job implements IJob {
protected $argument;
/**
- * @param JobList $jobList
+ * @param IJobList $jobList
* @param ILogger|null $logger
*/
public function execute($jobList, ILogger $logger = null) {
namespace OC\BackgroundJob;
+use OCP\BackgroundJob\IJobList;
use OCP\ILogger;
/**
/**
* run the job if
*
- * @param JobList $jobList
+ * @param IJobList $jobList
* @param ILogger|null $logger
*/
public function execute($jobList, ILogger $logger = null) {
/**
* Run the background job with the registered argument
*
- * @param \OCP\BackgroundJob\IJobList $jobList The job list that manages the state of this job
+ * @param IJobList $jobList The job list that manages the state of this job
* @param ILogger|null $logger
* @since 7.0.0
*/