dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "mediawiki.special.userlogin.signup: Remove unused debounce dependency"
[lhc/web/wiklou.git]
/
includes
/
specialpage
/
FormSpecialPage.php
diff --git
a/includes/specialpage/FormSpecialPage.php
b/includes/specialpage/FormSpecialPage.php
index
939460f
..
fb69f63
100644
(file)
--- a/
includes/specialpage/FormSpecialPage.php
+++ b/
includes/specialpage/FormSpecialPage.php
@@
-150,10
+150,11
@@
abstract class FormSpecialPage extends SpecialPage {
/**
* Process the form on POST submission.
* @param array $data
/**
* Process the form on POST submission.
* @param array $data
- * @param HTMLForm $form
+ * @param HTMLForm|null $form
+ * @suppress PhanCommentParamWithoutRealParam Many implementations don't have $form
* @return bool|string|array|Status As documented for HTMLForm::trySubmit.
*/
* @return bool|string|array|Status As documented for HTMLForm::trySubmit.
*/
- abstract public function onSubmit( array $data /* $form = null */ );
+ abstract public function onSubmit( array $data /*
HTMLForm
$form = null */ );
/**
* Do something exciting on successful processing of the form, most likely to show a
/**
* Do something exciting on successful processing of the form, most likely to show a