mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
Fix wrong phpdoc for execute method
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user