]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix wrong phpdoc for execute method
authorDaniel Kesselberg <mail@danielkesselberg.de>
Fri, 3 Jul 2020 08:46:51 +0000 (10:46 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Fri, 3 Jul 2020 08:47:15 +0000 (10:47 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
lib/private/BackgroundJob/Job.php
lib/private/BackgroundJob/TimedJob.php
lib/public/BackgroundJob/IJob.php

index f0b780d0c70d92bf618f1a024664f19079aee4b3..30326b6a4f447fd0ea613519cf93659c3bd2a5da 100644 (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) {
index e5dfeb96c9c26421cdf58457fe161c942781ebda..d33cdd90b370e9e7b1256a13f72c7383c1d95d74 100644 (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) {
index 985b5e973b65576731af44bc0b791c979d541af3..e9c8ddedeea5ea0c204294f489555894fdfe75f1 100644 (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
         */