diff options
author | Reedy <reedy@wikimedia.org> | 2020-05-15 23:07:42 +0100 |
---|---|---|
committer | Reedy <reedy@wikimedia.org> | 2020-05-16 00:51:31 +0100 |
commit | 988174411cf15ee21c14054bf98f799a945bbae0 (patch) | |
tree | 699c2c7adfa039af0cb67a46ac6bb858e940aff6 /includes/htmlform | |
parent | b80a9f4f6aa2781bfe68718a75b99593d3487dff (diff) | |
download | mediawikicore-988174411cf15ee21c14054bf98f799a945bbae0.tar.gz mediawikicore-988174411cf15ee21c14054bf98f799a945bbae0.zip |
Fix even more PSR12.Properties.ConstantVisibility.NotFound
Change-Id: If1335359b545c36fc979676c3e88d87628f9389e
Diffstat (limited to 'includes/htmlform')
-rw-r--r-- | includes/htmlform/fields/HTMLRestrictionsField.php | 2 | ||||
-rw-r--r-- | includes/htmlform/fields/HTMLTextAreaField.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/htmlform/fields/HTMLRestrictionsField.php b/includes/htmlform/fields/HTMLRestrictionsField.php index 14c30232c54b..4dd97e0cc110 100644 --- a/includes/htmlform/fields/HTMLRestrictionsField.php +++ b/includes/htmlform/fields/HTMLRestrictionsField.php @@ -13,7 +13,7 @@ use Wikimedia\IPUtils; * valid IP ranges. */ class HTMLRestrictionsField extends HTMLTextAreaField { - const DEFAULT_ROWS = 5; + protected const DEFAULT_ROWS = 5; public function __construct( array $params ) { parent::__construct( $params ); diff --git a/includes/htmlform/fields/HTMLTextAreaField.php b/includes/htmlform/fields/HTMLTextAreaField.php index 13efb75d22d5..b346deaa123b 100644 --- a/includes/htmlform/fields/HTMLTextAreaField.php +++ b/includes/htmlform/fields/HTMLTextAreaField.php @@ -1,8 +1,8 @@ <?php class HTMLTextAreaField extends HTMLFormField { - const DEFAULT_COLS = 80; - const DEFAULT_ROWS = 25; + protected const DEFAULT_COLS = 80; + protected const DEFAULT_ROWS = 25; protected $mPlaceholder = ''; protected $mUseEditFont = false; |