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 "resourceloader: Reword and expand doc comment about FileModule "packageFiles""
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
HTMLFormElement.php
diff --git
a/includes/htmlform/HTMLFormElement.php
b/includes/htmlform/HTMLFormElement.php
index
2830b9c
..
fbef265
100644
(file)
--- a/
includes/htmlform/HTMLFormElement.php
+++ b/
includes/htmlform/HTMLFormElement.php
@@
-13,8
+13,8
@@
trait HTMLFormElement {
public function initializeHTMLFormElement( array $config = [] ) {
// Properties
public function initializeHTMLFormElement( array $config = [] ) {
// Properties
- $this->hideIf =
isset( $config['hideIf'] ) ? $config['hideIf'] :
null;
- $this->modules =
isset( $config['modules'] ) ? $config['modules'] :
[];
+ $this->hideIf =
$config['hideIf'] ??
null;
+ $this->modules =
$config['modules'] ??
[];
// Initialization
if ( $this->hideIf ) {
// Initialization
if ( $this->hideIf ) {