From: Siebrand Mazeland Date: Tue, 19 Nov 2013 07:39:35 +0000 (+0100) Subject: Declare visibility on class properties of RecentChange X-Git-Tag: 1.31.0-rc.0~18028^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=14057d6e51887e90d38a41aafb8755c46e902468;p=lhc%2Fweb%2Fwiklou.git Declare visibility on class properties of RecentChange All are referenced directly outside inheritence; declare all public. Removed unused $mMovedToTitle. Change-Id: I3ba8f377e1a1082d3a2bb4b043e10bc351c0b5dd --- diff --git a/includes/changes/RecentChange.php b/includes/changes/RecentChange.php index a6920f64ef..d153212456 100644 --- a/includes/changes/RecentChange.php +++ b/includes/changes/RecentChange.php @@ -64,7 +64,6 @@ * @todo document functions and variables */ class RecentChange { - // Constants for the rc_source field. Extensions may also have // their own source constants. const SRC_EDIT = 'mw.edit'; @@ -72,24 +71,21 @@ class RecentChange { const SRC_LOG = 'mw.log'; const SRC_EXTERNAL = 'mw.external'; // obsolete - var $mAttribs = array(), $mExtra = array(); + public $mAttribs = array(); + public $mExtra = array(); /** * @var Title */ - var $mTitle = false; + public $mTitle = false; /** * @var User */ private $mPerformer = false; - /** - * @var Title - */ - var $mMovedToTitle = false; - var $numberofWatchingusers = 0; # Dummy to prevent error message in SpecialRecentchangeslinked - var $notificationtimestamp; + public $numberofWatchingusers = 0; # Dummy to prevent error message in SpecialRecentchangeslinked + public $notificationtimestamp; # Factory methods