Cleaned up some Job doc types
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 23 May 2015 18:04:18 +0000 (11:04 -0700)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 23 May 2015 18:43:43 +0000 (18:43 +0000)
Change-Id: I205345819bc07575995ab9aff54f40d547bd1d6f

includes/jobqueue/JobQueue.php

index fd4234d..73ca3a8 100644 (file)
@@ -286,7 +286,7 @@ abstract class JobQueue {
         * This does not require $wgJobClasses to be set for the given job type.
         * Outside callers should use JobQueueGroup::push() instead of this function.
         *
-        * @param Job|array $jobs A single job or an array of Jobs
+        * @param JobSpecification|JobSpecification[] $jobs
         * @param int $flags Bitfield (supports JobQueue::QOS_ATOMIC)
         * @return void
         * @throws JobQueueError
@@ -301,7 +301,7 @@ abstract class JobQueue {
         * This does not require $wgJobClasses to be set for the given job type.
         * Outside callers should use JobQueueGroup::push() instead of this function.
         *
-        * @param array $jobs List of Jobs
+        * @param JobSpecification[] $jobs
         * @param int $flags Bitfield (supports JobQueue::QOS_ATOMIC)
         * @return void
         * @throws MWException
@@ -327,7 +327,7 @@ abstract class JobQueue {
 
        /**
         * @see JobQueue::batchPush()
-        * @param array $jobs
+        * @param JobSpecification[] $jobs
         * @param int $flags
         */
        abstract protected function doBatchPush( array $jobs, $flags );