From bc4b81c7bbf49f937c2e2c8fae22093de53b5b25 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sat, 7 Apr 2018 12:07:53 +0200 Subject: [PATCH] Adjust InitImageDataJob $params cannot a bool here Job::run has to return a bool Change-Id: Ieed6675e8de0e3ed4c3376676d5b027a6ab9f4f2 --- includes/Job/InitImageDataJob.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/Job/InitImageDataJob.php b/includes/Job/InitImageDataJob.php index 2d91d77..417940f 100644 --- a/includes/Job/InitImageDataJob.php +++ b/includes/Job/InitImageDataJob.php @@ -11,7 +11,7 @@ use Title; class InitImageDataJob extends Job { /** * @param Title $title Title object associated with this job - * @param array|bool $params Parameters to the job, containing an array of + * @param array $params Parameters to the job, containing an array of * page ids representing which pages to process */ public function __construct( Title $title, array $params ) { @@ -34,5 +34,6 @@ class InitImageDataJob extends Job { MWExceptionHandler::logException( $e ); } } + return true; } }