diff options
author | Daimona Eaytoy <daimona.wiki@gmail.com> | 2019-08-30 19:56:27 +0200 |
---|---|---|
committer | Daimona Eaytoy <daimona.wiki@gmail.com> | 2019-09-01 09:48:31 +0000 |
commit | e2e543f7c2a98f40c9b43ba3989d0f6689f4cb67 (patch) | |
tree | 95583686c068096ce78cfad653e9909da0a4a242 /includes/htmlform | |
parent | a07fe8efb4971290b904b25115c668e76208a624 (diff) | |
download | mediawikicore-e2e543f7c2a98f40c9b43ba3989d0f6689f4cb67.tar.gz mediawikicore-e2e543f7c2a98f40c9b43ba3989d0f6689f4cb67.zip |
Unsuppress more phan issues (part 5)
Bug: T231636
Depends-On: I6e5fba7bd273219b1206559420b5bdb78734aa84
Change-Id: I50377746f01749b058c39fd8229f9d566224cc43
Diffstat (limited to 'includes/htmlform')
-rw-r--r-- | includes/htmlform/HTMLForm.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index f4dad390cf3e..04be6c4e6097 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -242,6 +242,10 @@ class HTMLForm extends ContextSource { protected $mUseMultipart = false; protected $mHiddenFields = []; + /** + * @var array[] + * @phan-var array<array{name:string,value:string,label-message?:string,label?:string,label-raw?:string,id?:string,attribs?:array,flags?:string|string[],framed?:bool}> + */ protected $mButtons = []; protected $mWrapperLegend = false; @@ -983,6 +987,9 @@ class HTMLForm extends ContextSource { * - attribs: (array, optional) Additional HTML attributes. * - flags: (string|string[], optional) OOUI flags. * - framed: (boolean=true, optional) OOUI framed attribute. + * @codingStandardsIgnoreStart + * @phan-param array{name:string,value:string,label-message?:string,label?:string,label-raw?:string,id?:string,attribs?:array,flags?:string|string[],framed?:bool} $data + * @codingStandardsIgnoreEnd * @return HTMLForm $this for chaining calls (since 1.20) */ public function addButton( $data ) { |