aboutsummaryrefslogtreecommitdiffstats
path: root/includes/htmlform
diff options
context:
space:
mode:
authorDaimona Eaytoy <daimona.wiki@gmail.com>2019-09-11 11:30:12 +0200
committerDaimona Eaytoy <daimona.wiki@gmail.com>2019-09-14 15:21:26 +0200
commit290ab29617d830d20cdc72cb9e5e199f5e091d9d (patch)
tree53f61ccf98e73c635f152366fa4a1672dec4c29a /includes/htmlform
parent5d3194bbcd6b88c279396f28ee0ebc5c71594762 (diff)
downloadmediawikicore-290ab29617d830d20cdc72cb9e5e199f5e091d9d.tar.gz
mediawikicore-290ab29617d830d20cdc72cb9e5e199f5e091d9d.zip
Declare dynamic properties
This is for classes with a single undeclared property - aside from BlockManager: I3f51fd3579514b83b567dfe20926df2f0930dc85 removed the declaration of $permissionManager without actually removing all uses. Change-Id: Ic2a95f77071312041be6e0633ea9b5325e98de42
Diffstat (limited to 'includes/htmlform')
-rw-r--r--includes/htmlform/fields/HTMLSelectAndOtherField.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/htmlform/fields/HTMLSelectAndOtherField.php b/includes/htmlform/fields/HTMLSelectAndOtherField.php
index 354432bb28c3..05ab0bb3fa91 100644
--- a/includes/htmlform/fields/HTMLSelectAndOtherField.php
+++ b/includes/htmlform/fields/HTMLSelectAndOtherField.php
@@ -11,6 +11,9 @@
* @todo FIXME: If made 'required', only the text field should be compulsory.
*/
class HTMLSelectAndOtherField extends HTMLSelectField {
+ /** @var string[] */
+ private $mFlatOptions;
+
public function __construct( $params ) {
if ( array_key_exists( 'other', $params ) ) {
// Do nothing