Fix wrong phpdoc for execute method

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/21665/head
Daniel Kesselberg 5 years ago
parent 5e985c61dc
commit 9b10d35477
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614
  1. 3
      lib/private/BackgroundJob/Job.php
  2. 3
      lib/private/BackgroundJob/TimedJob.php
  3. 2
      lib/public/BackgroundJob/IJob.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) {

@ -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) {

@ -38,7 +38,7 @@ interface IJob {
/**
* 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
*/

Loading…
Cancel
Save