Skip to content
Snippets Groups Projects
Unverified Commit 9b10d354 authored by Daniel Kesselberg's avatar Daniel Kesselberg
Browse files

Fix wrong phpdoc for execute method

parent 5e985c61
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
namespace OC\BackgroundJob; namespace OC\BackgroundJob;
use OCP\BackgroundJob\IJob; use OCP\BackgroundJob\IJob;
use OCP\BackgroundJob\IJobList;
use OCP\ILogger; use OCP\ILogger;
abstract class Job implements IJob { abstract class Job implements IJob {
...@@ -47,7 +48,7 @@ abstract class Job implements IJob { ...@@ -47,7 +48,7 @@ abstract class Job implements IJob {
protected $argument; protected $argument;
/** /**
* @param JobList $jobList * @param IJobList $jobList
* @param ILogger|null $logger * @param ILogger|null $logger
*/ */
public function execute($jobList, ILogger $logger = null) { public function execute($jobList, ILogger $logger = null) {
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
namespace OC\BackgroundJob; namespace OC\BackgroundJob;
use OCP\BackgroundJob\IJobList;
use OCP\ILogger; use OCP\ILogger;
/** /**
...@@ -49,7 +50,7 @@ abstract class TimedJob extends Job { ...@@ -49,7 +50,7 @@ abstract class TimedJob extends Job {
/** /**
* run the job if * run the job if
* *
* @param JobList $jobList * @param IJobList $jobList
* @param ILogger|null $logger * @param ILogger|null $logger
*/ */
public function execute($jobList, ILogger $logger = null) { public function execute($jobList, ILogger $logger = null) {
......
...@@ -38,7 +38,7 @@ interface IJob { ...@@ -38,7 +38,7 @@ interface IJob {
/** /**
* Run the background job with the registered argument * 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 * @param ILogger|null $logger
* @since 7.0.0 * @since 7.0.0
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment