summaryrefslogtreecommitdiff
path: root/includes/jobqueue/jobs/NullJob.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/jobqueue/jobs/NullJob.php')
-rw-r--r--includes/jobqueue/jobs/NullJob.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/jobqueue/jobs/NullJob.php b/includes/jobqueue/jobs/NullJob.php
index f94d6ebc..26d3c5c8 100644
--- a/includes/jobqueue/jobs/NullJob.php
+++ b/includes/jobqueue/jobs/NullJob.php
@@ -49,7 +49,7 @@ class NullJob extends Job {
* @param Title $title
* @param array $params Job parameters (lives, usleep)
*/
- function __construct( $title, $params ) {
+ function __construct( Title $title, array $params ) {
parent::__construct( 'null', $title, $params );
if ( !isset( $this->params['lives'] ) ) {
$this->params['lives'] = 1;