X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fhtmlform%2FHTMLForm.php;h=04be6c4e6097940f755a6026dc90b9e51184ee29;hb=a5230acd936b5b9270037c35b9d2d419f4c8d9a6;hp=f4dad390cf3e7a2813dfc9ee32f5ab7d275de41e;hpb=174e8ccc6918d7db3a512976a9d74f96072e938b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index f4dad390cf..04be6c4e60 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 + */ 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 ) {