Fix wrong phpdoc for execute method

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2020-07-03 10:46:51 +02:00
parent 5e985c61dc
commit 9b10d35477
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614
3 changed files with 5 additions and 3 deletions

View File

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

View File

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

View File

@ -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
*/