diff options
author | addshore <addshorewiki@gmail.com> | 2014-09-23 21:52:39 +0100 |
---|---|---|
committer | addshore <addshorewiki@gmail.com> | 2014-09-23 21:57:31 +0100 |
commit | f960c2434b7ccd9444e178f033f1f8123da82f7b (patch) | |
tree | cbc2ccf42f705e99bbd071140f479cc8e5a9e9c3 /includes/jobqueue/Job.php | |
parent | 38d651fab24bfed7e6de8eb09c9354be49e8a319 (diff) | |
download | mediawikicore-f960c2434b7ccd9444e178f033f1f8123da82f7b.tar.gz mediawikicore-f960c2434b7ccd9444e178f033f1f8123da82f7b.zip |
Add tests for Job::toString
Change-Id: I00f41808af42a198a1e45a93201dd7bb3e4d9c2c
Diffstat (limited to 'includes/jobqueue/Job.php')
-rw-r--r-- | includes/jobqueue/Job.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/jobqueue/Job.php b/includes/jobqueue/Job.php index ee3f2c2b60c4..d89c5d29608e 100644 --- a/includes/jobqueue/Job.php +++ b/includes/jobqueue/Job.php @@ -87,7 +87,7 @@ abstract class Job implements IJobSpecification { * This may add duplicate at insert time, but they will be * removed later on, when the first one is popped. * - * @param array $jobs Array of Job objects + * @param Job[] $jobs Array of Job objects * @return bool * @deprecated since 1.21 */ @@ -103,7 +103,7 @@ abstract class Job implements IJobSpecification { * be rolled-back as part of a larger transaction. However, * large batches of jobs can cause slave lag. * - * @param array $jobs Array of Job objects + * @param Job[] $jobs Array of Job objects * @return bool * @deprecated since 1.21 */ @@ -143,7 +143,7 @@ abstract class Job implements IJobSpecification { /** * @param string $command * @param Title $title - * @param array|bool $params + * @param array|bool $params Can not be === true */ public function __construct( $command, $title, $params = false ) { $this->command = $command; |