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 "output: Narrow Title type hint to LinkTarget"
[lhc/web/wiklou.git]
/
includes
/
widget
/
CheckMatrixWidget.php
diff --git
a/includes/widget/CheckMatrixWidget.php
b/includes/widget/CheckMatrixWidget.php
index
797a81f
..
3ae00ea
100644
(file)
--- a/
includes/widget/CheckMatrixWidget.php
+++ b/
includes/widget/CheckMatrixWidget.php
@@
-9,18
+9,24
@@
namespace MediaWiki\Widget;
* @license MIT
*/
class CheckMatrixWidget extends \OOUI\Widget {
* @license MIT
*/
class CheckMatrixWidget extends \OOUI\Widget {
-
- protected $name = '';
- protected $columns = [];
- protected $rows = [];
- protected $tooltips = [];
- protected $values = [];
- protected $forcedOn = [];
- protected $forcedOff = [];
+ /** @var string|null */
+ protected $name;
+ /** @var string|null */
+ protected $id;
+ /** @var array */
+ protected $columns;
+ /** @var array */
+ protected $rows;
+ /** @var array */
+ protected $tooltips;
+ /** @var array */
+ protected $values;
+ /** @var array */
+ protected $forcedOn;
+ /** @var array */
+ protected $forcedOff;
/**
/**
- * CheckMatrixWidget constructor
- *
* Operates similarly to MultiSelectWidget, but instead of using an array of
* options, uses an array of rows and an array of columns to dynamically
* construct a matrix of options. The tags used to identify a particular cell
* Operates similarly to MultiSelectWidget, but instead of using an array of
* options, uses an array of rows and an array of columns to dynamically
* construct a matrix of options. The tags used to identify a particular cell