From: Reedy Date: Sat, 10 Nov 2012 15:05:02 +0000 (+0000) Subject: Explicitly define member variables X-Git-Tag: 1.31.0-rc.0~21674^2 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=803abc70536973bc89ce328d64847da40652cf9b;p=lhc%2Fweb%2Fwiklou.git Explicitly define member variables Change-Id: Ib2b8dfb84570557f1aeab474f4939e3a657c5732 --- diff --git a/includes/specials/SpecialChangePassword.php b/includes/specials/SpecialChangePassword.php index 41b3b2558f..959cd822e0 100644 --- a/includes/specials/SpecialChangePassword.php +++ b/includes/specials/SpecialChangePassword.php @@ -27,6 +27,9 @@ * @ingroup SpecialPage */ class SpecialChangePassword extends UnlistedSpecialPage { + + protected $mUserName, $mOldpass, $mNewpass, $mRetype, $mDomain, $mRetypePass; + public function __construct() { parent::__construct( 'ChangePassword' ); } @@ -105,6 +108,9 @@ class SpecialChangePassword extends UnlistedSpecialPage { $this->getOutput()->redirect( $titleObj->getFullURL() ); } + /** + * @param $msg string + */ function error( $msg ) { $this->getOutput()->addHTML( Xml::element('p', array( 'class' => 'error' ), $msg ) ); } @@ -170,6 +176,10 @@ class SpecialChangePassword extends UnlistedSpecialPage { ); } + /** + * @param $fields array + * @return string + */ function pretty( $fields ) { $out = ''; foreach ( $fields as $list ) {