From 2a9c5cc995412a6e3977e46df0d4a5759572cea5 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 25 Nov 2013 16:13:07 +0100 Subject: [PATCH] Set visibility on class properties of DoubleRedirectJob Change-Id: I997f6db5510c7a8b04e5f88b9603c6821a6c459f --- includes/job/jobs/DoubleRedirectJob.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/includes/job/jobs/DoubleRedirectJob.php b/includes/job/jobs/DoubleRedirectJob.php index ab8aef970f..24b55214d9 100644 --- a/includes/job/jobs/DoubleRedirectJob.php +++ b/includes/job/jobs/DoubleRedirectJob.php @@ -27,12 +27,18 @@ * @ingroup JobQueue */ class DoubleRedirectJob extends Job { - var $reason, $redirTitle; + /** @var string Reason for the change, 'maintenance' or 'move'. Suffix fo + * message key 'double-redirect-fixed-'. + */ + private $reason; - /** - * @var User + /** @var Title The title which has changed, redirects pointing to this + * title are fixed */ - static $user; + private $redirTitle; + + /** @var User */ + private static $user; /** * Insert jobs into the job queue to fix redirects to the given title -- 2.20.1