summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2020-07-03 10:46:51 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2020-07-03 10:47:15 +0200
commit9b10d354777f7eea21820aec522c4865fb1663fe (patch)
tree61784d891660e9e37fa70fc8b26f700c17c081c4 /lib
parent5e985c61dc61f21c9daa9a50a9ac5a1179e5ea3f (diff)
downloadnextcloud-server-9b10d354777f7eea21820aec522c4865fb1663fe.tar.gz
nextcloud-server-9b10d354777f7eea21820aec522c4865fb1663fe.zip
Fix wrong phpdoc for execute method
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/BackgroundJob/Job.php3
-rw-r--r--lib/private/BackgroundJob/TimedJob.php3
-rw-r--r--lib/public/BackgroundJob/IJob.php2
3 files changed, 5 insertions, 3 deletions
diff --git a/lib/private/BackgroundJob/Job.php b/lib/private/BackgroundJob/Job.php
index f0b780d0c70..30326b6a4f4 100644
--- a/lib/private/BackgroundJob/Job.php
+++ b/lib/private/BackgroundJob/Job.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) {
diff --git a/lib/private/BackgroundJob/TimedJob.php b/lib/private/BackgroundJob/TimedJob.php
index e5dfeb96c9c..d33cdd90b37 100644
--- a/lib/private/BackgroundJob/TimedJob.php
+++ b/lib/private/BackgroundJob/TimedJob.php
@@ -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) {
diff --git a/lib/public/BackgroundJob/IJob.php b/lib/public/BackgroundJob/IJob.php
index 985b5e973b6..e9c8ddedeea 100644
--- a/lib/public/BackgroundJob/IJob.php
+++ b/lib/public/BackgroundJob/IJob.php
@@ -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
*/