@@ -21,6 +21,9 @@ discard block |
||
| 21 | 21 | // Checks |
| 22 | 22 | private $mEnvCheckCalls = array(); |
| 23 | 23 | |
| 24 | + /** |
|
| 25 | + * @return string|null |
|
| 26 | + */ |
|
| 24 | 27 | public function getError() { |
| 25 | 28 | return $this->mError; |
| 26 | 29 | } |
@@ -42,6 +45,13 @@ discard block |
||
| 42 | 45 | * $err_message_id specifies an error that should be thrown |
| 43 | 46 | * if the value is empty |
| 44 | 47 | */ |
| 48 | + |
|
| 49 | + /** |
|
| 50 | + * @param string $id |
|
| 51 | + * @param string $err_message_id |
|
| 52 | + * |
|
| 53 | + * @return string |
|
| 54 | + */ |
|
| 45 | 55 | protected function getUserDataValue( $id, $err_message_id = null ) { |
| 46 | 56 | global $wgRequest; |
| 47 | 57 | $value = $wgRequest->getText( $id ); |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * |
| 20 | 20 | * @param array &$wgHooks |
| 21 | 21 | * |
| 22 | - * @return boolean |
|
| 22 | + * @return boolean|null |
|
| 23 | 23 | */ |
| 24 | 24 | public function register( &$wgHooks ) { |
| 25 | 25 | |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | /** |
| 21 | 21 | * @since 1.0 |
| 22 | 22 | * |
| 23 | - * @param UserFieldsCreateTemplate $userFieldsTemplate |
|
| 23 | + * @param UserFieldsCreateTemplate $userFieldsCreateTemplate |
|
| 24 | 24 | */ |
| 25 | 25 | public function __construct( UserFieldsCreateTemplate $userFieldsCreateTemplate ) { |
| 26 | 26 | $this->userFieldsCreateTemplate = $userFieldsCreateTemplate; |