@@ -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 |
@@ -2,10 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace SES; |
4 | 4 | |
5 | -use Parser; |
|
6 | -use Title; |
|
7 | -use SpecialPage; |
|
8 | - |
|
9 | 5 | /** |
10 | 6 | * @license GNU GPL v3+ |
11 | 7 | * @since 1.0 |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace SES; |
4 | 4 | |
5 | -use Parser; |
|
6 | - |
|
7 | 5 | /** |
8 | 6 | * @license GNU GPL v2+ |
9 | 7 | * @since 1.0 |
@@ -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; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use User; |
6 | 6 | use Sanitizer; |
7 | -use Exception; |
|
8 | 7 | |
9 | 8 | /** |
10 | 9 | * @license GNU GPL v3+ |