Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
@ -81,7 +81,7 @@ class RetryJob extends Job {
* run the job, then remove it from the jobList
*
* @param JobList $jobList
* @param ILogger $logger
* @param ILogger|null $logger
*/
public function execute($jobList, ILogger $logger = null) {
@ -121,7 +121,7 @@ class GetSharedSecret extends Job{
* run the job, then remove it from the joblist
$target = $this->argument['url'];
@ -120,7 +120,7 @@ class RequestSharedSecret extends Job {
@ -59,7 +59,7 @@ class RetryJob extends Job {
if ($this->shouldRun($this->argument)) {
@ -45,7 +45,7 @@ abstract class Job implements IJob {
/**
$jobList->setLastRun($this);
@ -36,7 +36,7 @@ abstract class QueuedJob extends Job {
$jobList->remove($this, $this->argument);
@ -47,7 +47,7 @@ abstract class TimedJob extends Job {
* run the job if
if ((time() - $this->lastRun) > $this->interval) {
@ -53,7 +53,7 @@ class BackgroundRepair extends TimedJob {
* run the job, then remove it from the job list
// add an interval of 15 mins
@ -58,7 +58,7 @@ class RemoveOrphaned extends TimedJob {
@ -36,7 +36,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
* @since 7.0.0
public function execute($jobList, ILogger $logger = null);
@ -87,7 +87,7 @@ class VerifyUserData extends Job {